home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 2 / ETO Development Tools 2.iso / Essentials / Developer Essentials Nov 90 / Apple II / Programming & Utilities / MPW IIgs Interfaces / AIIGSIncludes / AIIGSRecords.aii next >
Encoding:
Text File  |  1990-08-01  |  75.6 KB  |  2,511 lines  |  [TEXT/MPS ]

  1. ; File:  AIIGSRecords.aii 
  2. ;
  3. ;
  4. ; Copyright Apple computer, Inc.  1986-89 
  5. ; All Rights Reserved 
  6. ;
  7. ;
  8. Str255 RECORD 0 ; Types
  9. textLength  DS.B 1 ; Byte - 
  10. text  DS.B 255 ; char[255] - 
  11.   ENDR
  12.  
  13. Str32 RECORD 0 ; Types
  14. length  DS.B 1 ; Byte -  
  15. text  DS.B 32 ; char[32] -  
  16.   ENDR
  17.  
  18. Point RECORD 0 ; Types
  19. v  DS.B 2 ; short - 
  20. h  DS.B 2 ; short - 
  21.   ENDR
  22.  
  23. Rect RECORD 0 ; Types
  24. v1  DS.B 2 ; short - 
  25. h1  DS.B 2 ; short - 
  26. v2  DS.B 2 ; short - 
  27. h2  DS.B 2 ; short - 
  28.   ENDR
  29.  
  30. TimeRec RECORD 0 ; Types
  31. second  DS.B 1 ; Byte - 
  32. minute  DS.B 1 ; Byte - 
  33. hour  DS.B 1 ; Byte - 
  34. year  DS.B 1 ; Byte - 
  35. day  DS.B 1 ; Byte - 
  36. month  DS.B 1 ; Byte - 
  37. extra  DS.B 1 ; Byte - 
  38. weekDay  DS.B 1 ; Byte - 
  39.   ENDR
  40.  
  41. Cursor RECORD 0 ; Quickdraw
  42. cursorHeight  DS.B 2 ; Word - size in bytes
  43. cursorWidth  DS.B 2 ; Word - enclosing rectangle
  44. cursorData  DS.B 2 ; Word[1] -  
  45. cursorMask  DS.B 2 ; Word[1] -  
  46. cursorHotSpot  DS Point ; Point -  
  47.   ENDR
  48.  
  49. Region RECORD 0 ; Quickdraw
  50. rgnSize  DS.B 2 ; word - size in bytes
  51. rgnBBox  DS Rect ; Rect - enclosing rectangle
  52.   ENDR
  53.  
  54. BufDimRec RECORD 0 ; Quickdraw
  55. maxWidth  DS.B 2 ; Word - 
  56. textBufHeight  DS.B 2 ; Word - 
  57. textBufferWords  DS.B 2 ; Word - 
  58. fontWidth  DS.B 2 ; Word - 
  59.   ENDR
  60.  
  61. Font RECORD 0 ; Quickdraw
  62. offseToMF  DS.B 2 ; Word - fully defined front of the Font record.
  63. family  DS.B 2 ; Word - 
  64. style  DS.B 2 ; TextStyle - 
  65. size  DS.B 2 ; Word - 
  66. version  DS.B 2 ; Word - 
  67. fbrExtent  DS.B 2 ; Word - 
  68. highowTLoc  DS.B 2 ; Word -  
  69.   ENDR
  70.  
  71. FontGlobalsRecord RECORD 0 ; Quickdraw
  72. fgFontID  DS.B 2 ; Word - currently 12 bytes long, but may be expanded
  73. fgStyle  DS.B 2 ; TextStyle - 
  74. fgSize  DS.B 2 ; Word - 
  75. fgVersion  DS.B 2 ; Word - 
  76. fgWidMax  DS.B 2 ; Word - 
  77. fgFBRExtent  DS.B 2 ; Word - 
  78.   ENDR
  79.  
  80. FontID RECORD 0 ; Quickdraw
  81. famNum  DS.B 2 ; Word - 
  82. fontStyle  DS.B 1 ; Byte - 
  83. fontSize  DS.B 1 ; Byte - 
  84.   ENDR
  85.  
  86. FontInfoRecord RECORD 0 ; Quickdraw
  87. ascent  DS.B 2 ; integer - 
  88. descent  DS.B 2 ; integer - 
  89. widMax  DS.B 2 ; integer - 
  90. leading  DS.B 2 ; integer - 
  91.   ENDR
  92.  
  93. LocInfo RECORD 0 ; Quickdraw
  94. portSCB  DS.B 2 ; Word - SCBByte in low byte
  95. ptrToPixImage  DS.B 4 ; Pointer - ImageRef
  96. width  DS.B 2 ; Word - Width
  97. boundsRect  DS Rect ; Rect - BoundsRect
  98.   ENDR
  99.  
  100. QDProcs RECORD 0 ; Quickdraw
  101. stdText  DS.B 4 ; VoidProcPtr - 
  102. stdLine  DS.B 4 ; VoidProcPtr - 
  103. stdRect  DS.B 4 ; VoidProcPtr - 
  104. stdRRect  DS.B 4 ; VoidProcPtr - 
  105. stdOval  DS.B 4 ; VoidProcPtr - 
  106. stdArc  DS.B 4 ; VoidProcPtr - 
  107. stdPoly  DS.B 4 ; VoidProcPtr - 
  108. stdRgn  DS.B 4 ; VoidProcPtr - 
  109. stdPixels  DS.B 4 ; VoidProcPtr - 
  110. stdComment  DS.B 4 ; VoidProcPtr - 
  111. stdTxMeas  DS.B 4 ; VoidProcPtr - 
  112. stdTxBnds  DS.B 4 ; VoidProcPtr - 
  113. stdGetPic  DS.B 4 ; VoidProcPtr - 
  114. stdPutPic  DS.B 4 ; VoidProcPtr - 
  115.   ENDR
  116.  
  117. GrafPort RECORD 0 ; Quickdraw
  118. portInfo  DS LocInfo ; LocInfo - 
  119. portRect  DS Rect ; Rect - PortRect
  120. clipRgn  DS.B 4 ; RegionHndl - Clip Rgn. Pointer
  121. visRgn  DS.B 4 ; RegionHndl - Vis. Rgn. Pointer
  122. bkPat  DS.B 32 ; Pattern - BackGround Pattern
  123. pnLoc  DS Point ; Point - Pen Location
  124. pnSize  DS Point ; Point - Pen Size
  125. pnMode  DS.B 2 ; Word - Pen Mode
  126. pnPat  DS.B 32 ; Pattern - Pen Pattern
  127. pnMask  DS.B 8 ; Mask - Pen Mask
  128. pnVis  DS.B 2 ; Word - Pen Visable
  129. fontHandle  DS.B 4 ; FontHndl - 
  130. fontID  DS FontID ; FontID - Font ID
  131. fontFlags  DS.B 2 ; Word - FontFlags
  132. txSize  DS.B 2 ; Integer - Text Size
  133. txFace  DS.B 2 ; TextStyle - Text Face
  134. txMode  DS.B 2 ; Word - Text Mode
  135. spExtra  DS.B 4 ; Fixed - Fixed Point Value
  136. chExtra  DS.B 4 ; Fixed - Fixed Point Value
  137. fgColor  DS.B 2 ; Word - ForeGround Color
  138. bgColor  DS.B 2 ; Word - BackGround Color
  139. picSave  DS.B 4 ; Handle - PicSave
  140. rgnSave  DS.B 4 ; Handle - RgnSave
  141. polySave  DS.B 4 ; Handle - PolySave
  142. grafProcs  DS.B 4 ; QDProcsPtr - 
  143. arcRot  DS.B 2 ; Integer - ArcRot
  144. userField  DS.B 4 ; Longint - UserField
  145. sysField  DS.B 4 ; Longint - SysField
  146.   ENDR
  147.  
  148. PaintParam RECORD 0 ; Quickdraw
  149. ptrToSourceLocInfo  DS.B 4 ; LocInfoPtr - 
  150. ptrToDestLocInfo  DS.B 4 ; LocInfoPtr - 
  151. ptrToSourceRect  DS.B 4 ; RectPtr - 
  152. ptrToDestPoint  DS.B 4 ; PointPtr - 
  153. mode  DS.B 2 ; Word - 
  154. maskHandle  DS.B 4 ; Handle - clip region
  155.   ENDR
  156.  
  157. PenState RECORD 0 ; Quickdraw
  158. psPenLoc  DS Point ; Point - 
  159. psPenSize  DS Point ; Point - 
  160. psPenMode  DS.B 2 ; Word - 
  161. psPenPat  DS.B 32 ; Pattern - 
  162. psPenMask  DS.B 8 ; Mask -  
  163.   ENDR
  164.  
  165. RomFontRec RECORD 0 ; Quickdraw
  166. rfFamNum  DS.B 2 ; Word - 
  167. rfFamStyle  DS.B 2 ; Word - 
  168. rfSize  DS.B 2 ; Word - 
  169. rfFontHandle  DS.B 4 ; FontHndl - 
  170. rfNamePtr  DS.B 4 ; Pointer - 
  171. rfFBRExtent  DS.B 2 ; Word - 
  172.   ENDR
  173.  
  174. ColorTable RECORD 0 ; Quickdraw
  175. entries  DS.B 32 ; Word[16] - 
  176.   ENDR
  177.  
  178. ClampRec RECORD 0 ; MiscTool
  179. yMaxClamp  DS.B 2 ; Word - 
  180. yMinClamp  DS.B 2 ; Word - 
  181. xMaxClamp  DS.B 2 ; Word - 
  182. xMinClamp  DS.B 2 ; Word - 
  183.   ENDR
  184.  
  185. FWRec RECORD 0 ; MiscTool
  186. yRegExit  DS.B 2 ; Word - 
  187. xRegExit  DS.B 2 ; Word - 
  188. aRegExit  DS.B 2 ; Word - 
  189. status  DS.B 2 ; Word - 
  190.   ENDR
  191.  
  192. MouseRec RECORD 0 ; MiscTool
  193. mouseMode  DS.B 1 ; Byte - 
  194. mouseStatus  DS.B 1 ; Byte - 
  195. yPos  DS.B 2 ; Word - 
  196. xPos  DS.B 2 ; Word - 
  197.   ENDR
  198.  
  199. InterruptStateRec RECORD 0 ; MiscTool
  200. irq_A  DS.B 2 ; Word - 
  201. irq_X  DS.B 2 ; Word - 
  202. irq_Y  DS.B 2 ; Word - 
  203. irq_S  DS.B 2 ; Word - 
  204. irq_D  DS.B 2 ; Word - 
  205. irq_P  DS.B 1 ; Byte - 
  206. irq_DB  DS.B 1 ; Byte - 
  207. irq_e  DS.B 1 ; Byte - 
  208. irq_K  DS.B 1 ; Byte - 
  209. irq_PC  DS.B 2 ; Word - 
  210. irq_state  DS.B 1 ; Byte - 
  211. irq_shadow  DS.B 2 ; Word - 
  212. irq_mslot  DS.B 1 ; Byte - 
  213.   ENDR
  214.  
  215. QueueHeaderRec RECORD 0 ; MiscTool
  216. qNext  DS.B 4 ; QueueHeaderRecPtr -  
  217. reserved  DS.B 2 ; Word -  
  218. signature  DS.B 2 ; Word - Validates header - must be $A55A 
  219.   ENDR
  220.  
  221. EventRecord RECORD 0 ; Event
  222. what  DS.B 2 ; Word - event code
  223. message  DS.B 4 ; Long - event message
  224. when  DS.B 4 ; Long - ticks since startup
  225. where  DS Point ; Point - mouse location
  226. modifiers  DS.B 2 ; Word - modifier flags
  227. wmTaskData  DS.B 4 ; Long - 
  228. wmTaskMask  DS.B 4 ; Long - 
  229. wmLastClickTick  DS.B 4 ; Long - 
  230. wmClickCount  DS.B 2 ; Word - 
  231. wmTaskData2  DS.B 4 ; Long - 
  232. wmTaskData3  DS.B 4 ; Long -  
  233. wmTaskData4  DS.B 4 ; Long -  
  234. wmLastClickPt  DS Point ; Point -  
  235.   ENDR
  236.  
  237. EventJournalRec RECORD 0 ; Event
  238. statusMode  DS.B 2 ; word - 
  239. yLocation  DS.B 2 ; word - 
  240. xLocation  DS.B 2 ; word - 
  241.   ENDR
  242.  
  243. BarColors RECORD 0 ; Control
  244. barOutline  DS.B 2 ; Word - color for outlining bar, arrows, and thumb
  245. barNorArrow  DS.B 2 ; Word - color of arrows when not highlighted
  246. barSelArrow  DS.B 2 ; Word - color of arrows when highlighted
  247. barArrowBack  DS.B 2 ; Word - color of arrow box's background
  248. barNorThumb  DS.B 2 ; Word - color of thumb's background when not highlighted
  249. barSelThumb  DS.B 2 ; Word - color of thumb's background when highlighted
  250. barPageRgn  DS.B 2 ; Word - color and pattern page region: high byte - 1= dither, 0 = solid
  251. barInactive  DS.B 2 ; Word - color of scroll bar's interior when inactive
  252.   ENDR
  253.  
  254. BoxColors RECORD 0 ; Control
  255. boxReserved  DS.B 2 ; Word - reserved
  256. boxNor  DS.B 2 ; Word - color of box when not checked
  257. boxSel  DS.B 2 ; Word - color of box when checked
  258. boxTitle  DS.B 2 ; Word - color of check box's title
  259.   ENDR
  260.  
  261. BttnColors RECORD 0 ; Control
  262. bttnOutline  DS.B 2 ; Word - color of outline
  263. bttnNorBack  DS.B 2 ; Word - color of background when not selected
  264. bttnSelBack  DS.B 2 ; Word - color of background when selected
  265. bttnNorText  DS.B 2 ; Word - color of title's text when not selected
  266. bttnSelText  DS.B 2 ; Word - color of title's text when selected
  267.   ENDR
  268.  
  269. CtlRec RECORD 0 ; Control
  270. ctlNext  DS.B 4 ; CtlRecHndl - Handle of next control.
  271. ctlOwner  DS.B 4 ; WindowPtr - Pointer to control's window.
  272. ctlRect  DS Rect ; Rect - Enclosing rectangle.
  273. ctlFlag  DS.B 1 ; Byte - Bit flags.
  274. ctlHilite  DS.B 1 ; Byte - Highlighted part.
  275. ctlValue  DS.B 2 ; Integer - Control's value.
  276. ctlProc  DS.B 4 ; LongProcPtr - Control's definition procedure.
  277. ctlAction  DS.B 4 ; LongProcPtr - Control's action procedure.
  278. ctlData  DS.B 4 ; Longint - Reserved for CtrlProc's use.
  279. ctlRefCon  DS.B 4 ; Longint - Reserved for application's use.
  280. ctlColor  DS.B 4 ; Pointer - Pointer to appropriate color table.
  281. ctlReserved  DS.B 16 ; Byte[16] - Reserved for future expansion
  282. ctlID  DS.B 4 ; Long - 
  283. ctlMoreFlags  DS.B 2 ; Word - 
  284. ctlVersion  DS.B 2 ; Word - 
  285.   ENDR
  286.  
  287. LimitBlk RECORD 0 ; Control
  288. boundRect  DS Rect ; Rect - Drag bounds.
  289. slopRect  DS Rect ; Rect - Cursor bounds.
  290. axisParam  DS.B 2 ; Word - Movement constrains.
  291. dragPatt  DS.B 4 ; Pointer - Pointer to 32 byte Pattern for drag outline.
  292.   ENDR
  293.  
  294. RadioColors RECORD 0 ; Control
  295. radReserved  DS.B 2 ; Word - reserved
  296. radNor  DS.B 2 ; Word - color of radio button when off
  297. radSel  DS.B 2 ; Word - color of radio button when on
  298. radTitle  DS.B 2 ; Word - color of radio button's title text
  299.   ENDR
  300.  
  301. KeystrokeRec RECORD 0 ; Control
  302. key1  DS.B 1 ; byte -  
  303. key2  DS.B 1 ; byte -  
  304. keyModifiers  DS.B 2 ; word -  
  305. keyCareBits  DS.B 2 ; word -  
  306.   ENDR
  307.  
  308. ControlTemplate RECORD 0 ; Control
  309. pCount  DS.B 2 ; word -  
  310. ID  DS.B 4 ; long -  
  311. rect  DS Rect ; Rect -  
  312. procRef  DS.B 4 ; long -  
  313. flag  DS.B 2 ; word -  
  314. moreFlags  DS.B 2 ; word -  
  315. refCon  DS.B 4 ; long -  
  316.   ENDR
  317.  
  318. SimpleButtonTemplate RECORD 0 ; Control
  319. ctlTemplate  DS ControlTemplate ; ControlTemplate -  
  320. titleRef  DS.B 4 ; Ref -  
  321. colorTableRef  DS.B 4 ; Ref -  
  322. keyEquivalent  DS KeystrokeRec ; KeystrokeRec -  
  323.   ENDR
  324.  
  325. CheckBoxTemplate RECORD 0 ; Control
  326. ctlTemplate  DS ControlTemplate ; ControlTemplate -  
  327. titleRef  DS.B 4 ; Ref -  
  328. initalValue  DS.B 2 ; Word -  
  329. colorTableRef  DS.B 4 ; Ref -  
  330. keyEquivalent  DS KeystrokeRec ; KeystrokeRec -  
  331.   ENDR
  332.  
  333. IconButtonTemplate RECORD 0 ; Control
  334. ctlTemplate  DS ControlTemplate ; ControlTemplate -  
  335. iconRef  DS.B 4 ; Ref -  
  336. titleRef  DS.B 4 ; Ref -  
  337. colorTableRef  DS.B 4 ; Ref -  
  338. displayMode  DS.B 2 ; word -  
  339. keyEquivalent  DS KeystrokeRec ; KeystrokeRec -  
  340.   ENDR
  341.  
  342. LineEditTemplate RECORD 0 ; Control
  343. ctlTemplate  DS ControlTemplate ; ControlTemplate -  
  344. maxSize  DS.B 2 ; word -  
  345. defaultRef  DS.B 4 ; Ref -  
  346.   ENDR
  347.  
  348. ListTemplate RECORD 0 ; Control
  349. ctlTemplate  DS ControlTemplate ; ControlTemplate - 
  350. listSize  DS.B 2 ; word - 
  351. listView  DS.B 2 ; word - 
  352. listType  DS.B 2 ; word - 
  353. listStart  DS.B 2 ; word - 
  354. listDraw  DS.B 4 ; ProcPtr - 
  355. listMemHeight  DS.B 2 ; word - 
  356. listMemSize  DS.B 2 ; Word - 
  357. listRef  DS.B 4 ; Ref - 
  358. colorTableRef  DS.B 4 ; Ref -  
  359.   ENDR
  360.  
  361. PictureTemplate RECORD 0 ; Control
  362. ctlTemplate  DS ControlTemplate ; ControlTemplate -  
  363. pictureRef  DS.B 4 ; Ref -  
  364.   ENDR
  365.  
  366. PopupTemplate RECORD 0 ; Control
  367. ctlTemplate  DS ControlTemplate ; ControlTemplate -  
  368. titleWidth  DS.B 2 ; word -  
  369. menuRef  DS.B 4 ; Ref -  
  370. initialValue  DS.B 2 ; word -  
  371. colorTableRef  DS.B 4 ; Ref -  
  372.   ENDR
  373.  
  374. RadioButtonTemplate RECORD 0 ; Control
  375. ctlTemplate  DS ControlTemplate ; ControlTemplate -  
  376. titleRef  DS.B 4 ; Ref -  
  377. initalValue  DS.B 2 ; Word -  
  378. colorTableRef  DS.B 4 ; Ref -  
  379. keyEquivalent  DS KeystrokeRec ; KeystrokeRec -  
  380.   ENDR
  381.  
  382. ScrollBarTemplate RECORD 0 ; Control
  383. ctlTemplate  DS ControlTemplate ; ControlTemplate -  
  384. maxSize  DS.B 2 ; word -  
  385. viewSize  DS.B 2 ; word -  
  386. initalValue  DS.B 2 ; word -  
  387. colorTableRef  DS.B 4 ; Ref -  
  388.   ENDR
  389.  
  390. SizeBoxTemplate RECORD 0 ; Control
  391. ctlTemplate  DS ControlTemplate ; ControlTemplate -  
  392. colorTableRef  DS.B 4 ; Ref -  
  393.   ENDR
  394.  
  395. StaticTextTemplate RECORD 0 ; Control
  396. ctlTemplate  DS ControlTemplate ; ControlTemplate -  
  397. textRef  DS.B 4 ; Ref -  
  398. textSize  DS.B 2 ; word -  
  399. just  DS.B 2 ; word -  
  400.   ENDR
  401.  
  402. TextEditTemplate RECORD 0 ; Control
  403. ctlTemplate  DS ControlTemplate ; ControlTemplate - 
  404. textFlags  DS.B 4 ; long - 
  405. indentRect  DS Rect ; Rect - 
  406. vertBar  DS.B 4 ; CtlRecHndl - 
  407. vertAmount  DS.B 2 ; word - 
  408. horzBar  DS.B 4 ; CtlRecHndl - 
  409. horzAmount  DS.B 2 ; word - 
  410. styleRef  DS.B 4 ; Ref - 
  411. textDescriptor  DS.B 2 ; word - 
  412. textRef  DS.B 4 ; Ref - 
  413. textLength  DS.B 4 ; long - 
  414. maxChars  DS.B 4 ; long - 
  415. maxLines  DS.B 4 ; long - 
  416. maxCharsPerLine  DS.B 2 ; Word - 
  417. maxHeight  DS.B 2 ; word - 
  418. colorRef  DS.B 4 ; Ref - 
  419. drawMode  DS.B 2 ; Word - 
  420. filterProcPtr  DS.B 4 ; WordProcPtr - 
  421.   ENDR
  422.  
  423. WindColor RECORD 0 ; Window
  424. frameColor  DS.B 2 ; Word - Color of window frame.
  425. titleColor  DS.B 2 ; Word - Color of title and bar.
  426. tBarColor  DS.B 2 ; Word - Color/pattern of title bar.
  427. growColor  DS.B 2 ; Word - Color of grow box.
  428. infoColor  DS.B 2 ; Word - Color of information bar.
  429.   ENDR
  430.  
  431. WindRec RECORD 0 ; Window
  432. wNext  DS.B 4 ; WindRecPtr - 
  433. port  DS GrafPort ; GrafPort - Window's port
  434. wDefProc  DS.B 4 ; ProcPtr - 
  435. wRefCon  DS.B 4 ; Long - 
  436. wContDraw  DS.B 4 ; ProcPtr - 
  437. wReserved  DS.B 4 ; Long - Space for future expansion
  438. wStrucRgn  DS.B 4 ; RegionHndl - Region of frame plus content.
  439. wContRgn  DS.B 4 ; RegionHndl - Content region.
  440. wUpdateRgn  DS.B 4 ; RegionHndl - Update region.
  441. wControls  DS.B 4 ; CtlRecHndl - Window's control list.
  442. wFrameCtrls  DS.B 4 ; CtlRecHndl - Window frame's control list.
  443. wFrame  DS.B 2 ; Word - 
  444.   ENDR
  445.  
  446. ParamList RECORD 0 ; Window
  447. paramLength  DS.B 2 ; Word - Parameter to NewWindow. 
  448. wFrameBits  DS.B 2 ; Word - Parameter to NewWindow.
  449. wTitle  DS.B 4 ; Pointer - Parameter to NewWindow.
  450. wRefCon  DS.B 4 ; Long - Parameter to NewWindow.
  451. wZoom  DS Rect ; Rect - Parameter to NewWindow.
  452. wColor  DS.B 4 ; WindColorPtr - Parameter to NewWindow.
  453. wYOrigin  DS.B 2 ; Word - Parameter to NewWindow.
  454. wXOrigin  DS.B 2 ; Word - Parameter to NewWindow.
  455. wDataH  DS.B 2 ; Word - Parameter to NewWindow.
  456. wDataW  DS.B 2 ; Word - Parameter to NewWindow.
  457. wMaxH  DS.B 2 ; Word - Parameter to NewWindow.
  458. wMaxW  DS.B 2 ; Word - Parameter to NewWindow.
  459. wScrollVer  DS.B 2 ; Word - Parameter to NewWindow.
  460. wScrollHor  DS.B 2 ; Word - Parameter to NewWindow.
  461. wPageVer  DS.B 2 ; Word - Parameter to NewWindow.
  462. wPageHor  DS.B 2 ; Word - Parameter to NewWindow.
  463. wInfoRefCon  DS.B 4 ; Long - Parameter to NewWindow.
  464. wInfoHeight  DS.B 2 ; Word - height of information bar
  465. wFrameDefProc  DS.B 4 ; LongProcPtr - Parameter to NewWindow.
  466. wInfoDefProc  DS.B 4 ; VoidProcPtr - Parameter to NewWindow.
  467. wContDefProc  DS.B 4 ; VoidProcPtr - Parameter to NewWindow.
  468. wPosition  DS Rect ; Rect - Parameter to NewWindow.
  469. wPlane  DS.B 4 ; WindowPtr - Parameter to NewWindow.
  470. wStorage  DS.B 4 ; WindRecPtr - Parameter to NewWindow.
  471.   ENDR
  472.  
  473. DeskMessageRecord RECORD 0 ; Window
  474. reserved  DS.B 4 ; Long -  
  475. messageType  DS.B 2 ; Word -  
  476. drawType  DS.B 2 ; Word -  
  477.   ENDR
  478.  
  479. LERec RECORD 0 ; LineEdit
  480. leLineHandle  DS.B 4 ; Handle - 
  481. leLength  DS.B 2 ; unsigned Integer - 
  482. leMaxLength  DS.B 2 ; unsigned Integer - 
  483. leDestRect  DS Rect ; Rect - 
  484. leViewRect  DS Rect ; Rect - 
  485. lePort  DS.B 4 ; GrafPortPtr - 
  486. leLineHite  DS.B 2 ; unsigned Integer - 
  487. leBaseHite  DS.B 2 ; unsigned Integer - 
  488. leSelStart  DS.B 2 ; unsigned Integer - 
  489. leSelEnd  DS.B 2 ; unsigned Integer - 
  490. leActFlg  DS.B 2 ; Word - 
  491. leCarAct  DS.B 2 ; Word - 
  492. leCarOn  DS.B 2 ; Word - 
  493. leCarTime  DS.B 4 ; unsigned Longint - 
  494. leHiliteHook  DS.B 4 ; VoidProcPtr - 
  495. leCaretHook  DS.B 4 ; VoidProcPtr - 
  496. leJust  DS.B 2 ; Word - 
  497. lePWChar  DS.B 2 ; Word - 
  498.   ENDR
  499.  
  500. ItemTemplate RECORD 0 ; Dialog
  501. itemID  DS.B 2 ; Word - 
  502. itemRect  DS Rect ; Rect - 
  503. itemType  DS.B 2 ; Word - 
  504. itemDescr  DS.B 4 ; Pointer - 
  505. itemValue  DS.B 2 ; Word - 
  506. itemFlag  DS.B 2 ; Word - 
  507. itemColor  DS.B 4 ; Pointer - pointer to appropriate type of color table
  508.   ENDR
  509.  
  510. AlertTemplate RECORD 0 ; Dialog
  511. atBoundsRect  DS Rect ; Rect - 
  512. atAlertID  DS.B 2 ; Word - 
  513. atStage1  DS.B 1 ; Byte - 
  514. atStage2  DS.B 1 ; Byte - 
  515. atStage3  DS.B 1 ; Byte - 
  516. atStage4  DS.B 1 ; Byte - 
  517. atItemList  DS.B 20 ; ItemTempPtr[atItemListLength] - Null terminated array
  518.   ENDR
  519.  
  520. DialogTemplate RECORD 0 ; Dialog
  521. dtBoundsRect  DS Rect ; Rect - 
  522. dtVisible  DS.B 4 ; Boolean - 
  523. dtRefCon  DS.B 4 ; Longint - 
  524. dtItemList  DS.B 32 ; ItemTempPtr[dtItemListLength] - Null terminated array
  525.   ENDR
  526.  
  527. UserCtlItemPB RECORD 0 ; Dialog
  528. defProcParm  DS.B 4 ; LongProcPtr - 
  529. titleParm  DS.B 4 ; Pointer - 
  530. param2  DS.B 2 ; Word - 
  531. param1  DS.B 2 ; Word - 
  532.   ENDR
  533.  
  534. PrPrinterSpecRec RECORD 0 ; Print
  535. prPrinterType  DS.B 2 ; Word -  
  536. prCharacteristics  DS.B 2 ; Word -  
  537.   ENDR
  538.  
  539. PrInfoRec RECORD 0 ; Print
  540. iDev  DS.B 2 ; Word - reserved for internal use
  541. iVRes  DS.B 2 ; Word - vertical resolution of printer
  542. iHRes  DS.B 2 ; Word - horizontal resolution of printer
  543. rPage  DS Rect ; Rect - defining page rectangle
  544.   ENDR
  545.  
  546. PrJobRec RECORD 0 ; Print
  547. iFstPage  DS.B 2 ; Word - first page to print
  548. iLstPage  DS.B 2 ; Word - last page to print
  549. iCopies  DS.B 2 ; Word - number of copies
  550. bJDocLoop  DS.B 1 ; Byte - printing method
  551. fFromUser  DS.B 1 ; Byte - used internally
  552. pIdleProc  DS.B 4 ; WordProcPtr - background procedure
  553. pFileName  DS.B 4 ; Pointer - spool file name
  554. iFileVol  DS.B 2 ; Word - spool file volume reference number
  555. bFileVers  DS.B 1 ; Byte - spool file version number
  556. bJobX  DS.B 1 ; Byte - used internally
  557.   ENDR
  558.  
  559. PrStyleRec RECORD 0 ; Print
  560. wDev  DS.B 2 ; Word - output quality information
  561. internA  DS.B 6 ; Word[3] - for internal use
  562. feed  DS.B 2 ; Word - paper feed type
  563. paperType  DS.B 2 ; Word - paper type
  564. crWidth  DS.B 2 ; Word - carriage Width for image writer or vertical sizing for lazer writer
  565. reduction  DS.B 2 ; Word - % reduction, laser writer only
  566. internB  DS.B 2 ; Word - for internal use
  567.   ENDR
  568.  
  569. PrRec RECORD 0 ; Print
  570. prVersion  DS.B 2 ; Word - print manager version
  571. prInfo  DS PrInfoRec ; PrInfoRec - printer infomation subrecord
  572. rPaper  DS Rect ; Rect - Defining paper rectangle
  573. prStl  DS PrStyleRec ; PrStyleRec - style subrecord
  574. prInfoPT  DS.B 14 ; Byte[14] - reserved for internal use
  575. prXInfo  DS.B 24 ; Byte[24] - reserved for internal use
  576. prJob  DS PrJobRec ; PrJobRec - job subrecord
  577. printX  DS.B 38 ; Byte[38] - reserved for future use
  578. iReserved  DS.B 2 ; Word - reserved for internal use
  579.   ENDR
  580.  
  581. PrStatusRec RECORD 0 ; Print
  582. iTotPages  DS.B 2 ; Word - number of pages in spool file
  583. iCurPage  DS.B 2 ; Word - page being printed
  584. iTotCopies  DS.B 2 ; Word - number of copies requested
  585. iCurCopy  DS.B 2 ; Word - copy being printed
  586. iTotBands  DS.B 2 ; Word - reserved for internal use
  587. iCurBand  DS.B 2 ; Word - reserved for internal use
  588. fPgDirty  DS.B 4 ; Boolean - TRUE if started printing page
  589. fImaging  DS.B 2 ; Word - reserved for internal use
  590. hPrint  DS.B 4 ; PrRecHndl - handle of print record
  591. pPrPort  DS.B 4 ; GrafPortPtr - pointer to grafport being use for printing
  592. hPic  DS.B 4 ; Long - reserved for internal use
  593.   ENDR
  594.  
  595. ReadConfigRec RECORD 0 ; ADB
  596. rcADBAddr  DS.B 1 ; Byte - Output Byte: ADB address - keyboard and mouse
  597. rcLayoutOrLang  DS.B 1 ; Byte - Output Byte: Layout / Language
  598. rcRepeatDelay  DS.B 1 ; Byte - Output Byte: Repeat / Delay
  599.   ENDR
  600.  
  601. SetConfigRec RECORD 0 ; ADB
  602. scADBAddr  DS.B 1 ; Byte - keyboard and mouse
  603. scLayoutOrLang  DS.B 1 ; Byte - 
  604. scRepeatDelay  DS.B 1 ; Byte - 
  605.   ENDR
  606.  
  607. SynchRec RECORD 0 ; ADB
  608. synchMode  DS.B 1 ; Byte - 
  609. synchKybdMouseAddr  DS.B 1 ; Byte - 
  610. synchLayoutOrLang  DS.B 1 ; Byte - 
  611. synchRepeatDelay  DS.B 1 ; Byte - 
  612.   ENDR
  613.  
  614. ScaleRec RECORD 0 ; ADB
  615. xDivide  DS.B 2 ; Word - 
  616. yDivide  DS.B 2 ; Word - 
  617. xOffset  DS.B 2 ; Word - 
  618. yOffset  DS.B 2 ; Word - 
  619. xMultiply  DS.B 2 ; Word - 
  620. yMultiply  DS.B 2 ; Word - 
  621.   ENDR
  622.  
  623. FontStatRec RECORD 0 ; Font
  624. resultID  DS FontID ; FontID - 
  625. resultStats  DS.B 2 ; Word - 
  626.   ENDR
  627.  
  628. GSString255 RECORD 0 ; GSOS
  629. length  DS.B 2 ; Word - Number of Chars in text field 
  630. text  DS.B 255 ; char[255] - 
  631.   ENDR
  632.  
  633. GSString32 RECORD 0 ; GSOS
  634. length  DS.B 2 ; Word - Number of characters in text field
  635. text  DS.B 32 ; char[32] - 
  636.   ENDR
  637.  
  638. ResultBuf255 RECORD 0 ; GSOS
  639. bufSize  DS.B 2 ; Word - 
  640. bufString  DS GSString255 ; GSString255 - 
  641.   ENDR
  642.  
  643. ResultBuf32 RECORD 0 ; GSOS
  644. bufSize  DS.B 2 ; Word - 
  645. bufString  DS GSString32 ; GSString32 - 
  646.   ENDR
  647.  
  648. ChangePathRecGS RECORD 0 ; GSOS
  649. pCount  DS.B 2 ; Word - 
  650. pathname  DS.B 4 ; GSString255Ptr - 
  651. newPathname  DS.B 4 ; GSString255Ptr - 
  652.   ENDR
  653.  
  654. CreateRecGS RECORD 0 ; GSOS
  655. pCount  DS.B 2 ; Word - 
  656. pathname  DS.B 4 ; GSString255Ptr - 
  657. access  DS.B 2 ; Word - 
  658. fileType  DS.B 2 ; Word - 
  659. auxType  DS.B 4 ; Long - 
  660. storageType  DS.B 2 ; Word - 
  661. eof  DS.B 4 ; Long - 
  662. resourceEOF  DS.B 4 ; Long - 
  663.   ENDR
  664.  
  665. DAccessRecGS RECORD 0 ; GSOS
  666. pCount  DS.B 2 ; Word - 
  667. devNum  DS.B 2 ; Word - 
  668. code  DS.B 2 ; Word - 
  669. list  DS.B 4 ; Pointer - 
  670. requestCount  DS.B 4 ; Long - 
  671. transferCount  DS.B 4 ; Long - 
  672.   ENDR
  673.  
  674. DevNumRecGS RECORD 0 ; GSOS
  675. pCount  DS.B 2 ; Word - 
  676. devName  DS.B 4 ; GSString32Ptr - 
  677. devNum  DS.B 2 ; Word - 
  678.   ENDR
  679.  
  680. DInfoRecGS RECORD 0 ; GSOS
  681. pCount  DS.B 2 ; Word - minimum = 2
  682. devNum  DS.B 2 ; Word - 
  683. devName  DS.B 4 ; ResultBuf32Ptr - 
  684. characteristics  DS.B 2 ; Word - 
  685. totalBlocks  DS.B 4 ; Long - 
  686. slotNum  DS.B 2 ; Word - 
  687. unitNum  DS.B 2 ; Word - 
  688. version  DS.B 2 ; Word - 
  689. deviceID  DS.B 2 ; Word - 
  690. headLink  DS.B 2 ; Word - 
  691. forwardLink  DS.B 2 ; Word - 
  692. extendedDIBPtr  DS.B 4 ; Pointer - 
  693.   ENDR
  694.  
  695. DIORecGS RECORD 0 ; GSOS
  696. pCount  DS.B 2 ; Word - 
  697. devNum  DS.B 2 ; Word - 
  698. buffer  DS.B 4 ; Pointer - 
  699. requestCount  DS.B 4 ; Long - 
  700. startingBlock  DS.B 4 ; Long - 
  701. blockSize  DS.B 2 ; Word - 
  702. transferCount  DS.B 4 ; Long - 
  703.   ENDR
  704.  
  705. DirEntryRecGS RECORD 0 ; GSOS
  706. pCount  DS.B 2 ; Word - 
  707. refNum  DS.B 2 ; Word - 
  708. flags  DS.B 2 ; Word - 
  709. base  DS.B 2 ; Word - 
  710. displacement  DS.B 2 ; Word - 
  711. name  DS.B 4 ; ResultBuf255Ptr - 
  712. entryNum  DS.B 2 ; Word - 
  713. fileType  DS.B 2 ; Word - 
  714. eof  DS.B 4 ; Longint - 
  715. blockCount  DS.B 4 ; Long - 
  716. createDateTime  DS TimeRec ; TimeRec - 
  717. modDateTime  DS TimeRec ; TimeRec - 
  718. access  DS.B 2 ; Word - 
  719. auxType  DS.B 4 ; Long - 
  720. fileSysID  DS.B 2 ; Word - 
  721. optionList  DS.B 4 ; ResultBuf255Ptr - 
  722. resourceEOF  DS.B 4 ; Long - 
  723. resourceBlocks  DS.B 4 ; Long - 
  724.   ENDR
  725.  
  726. DRenameRecGS RECORD 0 ; GSOS
  727. pCount  DS.B 2 ; word - 
  728. devNum  DS.B 2 ; word - 
  729. strPtr  DS.B 4 ; GSString32Ptr - 
  730.   ENDR
  731.  
  732. ExpandPathRecGS RECORD 0 ; GSOS
  733. pCount  DS.B 2 ; Word - 
  734. inputPath  DS.B 4 ; GSString255Ptr - 
  735. outputPath  DS.B 4 ; ResultBuf255Ptr - 
  736. flags  DS.B 2 ; Word - 
  737.   ENDR
  738.  
  739. FileInfoRecGS RECORD 0 ; GSOS
  740. pCount  DS.B 2 ; Word - 
  741. pathname  DS.B 4 ; GSString255Ptr - 
  742. access  DS.B 2 ; Word - 
  743. fileType  DS.B 2 ; Word - 
  744. auxType  DS.B 4 ; Long - 
  745. storageType  DS.B 2 ; Word - must be 0 for SetFileInfo
  746. createDateTime  DS TimeRec ; TimeRec - 
  747. modDateTime  DS TimeRec ; TimeRec - 
  748. optionList  DS.B 4 ; ResultBuf255Ptr - 
  749. eof  DS.B 4 ; Long - 
  750. blocksUsed  DS.B 4 ; Long - must be 0 for SetFileInfo
  751. resourceEOF  DS.B 4 ; Long - must be 0 for SetFileInfo
  752. resourceBlocks  DS.B 4 ; Long - must be 0 for SetFileInfo
  753.   ENDR
  754.  
  755. FormatRecGS RECORD 0 ; GSOS
  756. pCount  DS.B 2 ; Word - 
  757. devName  DS.B 4 ; GSString32Ptr - device name pointer
  758. volName  DS.B 4 ; GSString32Ptr - volume name pointer
  759. fileSysID  DS.B 2 ; Word - file system ID
  760. reqFileSysID  DS.B 2 ; Word - in; 
  761.   ENDR
  762.  
  763. FSTInfoRecGS RECORD 0 ; GSOS
  764. pCount  DS.B 2 ; Word - 
  765. fstNum  DS.B 2 ; Word - 
  766. fileSysID  DS.B 2 ; Word - 
  767. fstName  DS.B 4 ; ResultBuf255Ptr - 
  768. version  DS.B 2 ; Word - 
  769. attributes  DS.B 2 ; Word - 
  770. blockSize  DS.B 2 ; Word - 
  771. maxVolSize  DS.B 4 ; Long - 
  772. maxFileSize  DS.B 4 ; Long - 
  773.   ENDR
  774.  
  775. InterruptRecGS RECORD 0 ; GSOS
  776. pCount  DS.B 2 ; Word - 
  777. intNum  DS.B 2 ; Word - 
  778. vrn  DS.B 2 ; Word - used only by BindInt
  779. intCode  DS.B 4 ; ProcPtr - used only by BindInt
  780.   ENDR
  781.  
  782. IORecGS RECORD 0 ; GSOS
  783. pCount  DS.B 2 ; Word - 
  784. refNum  DS.B 2 ; Word - 
  785. dataBuffer  DS.B 4 ; Pointer - 
  786. requestCount  DS.B 4 ; Long - 
  787. transferCount  DS.B 4 ; Long - 
  788. cachePriority  DS.B 2 ; Word - 
  789.   ENDR
  790.  
  791. LevelRecGS RECORD 0 ; GSOS
  792. pCount  DS.B 2 ; Word - 
  793. level  DS.B 2 ; Word - 
  794.   ENDR
  795.  
  796. NameRecGS RECORD 0 ; GSOS
  797. pCount  DS.B 2 ; Word - 
  798. pathname  DS.B 4 ; GSString255Ptr - full pathname or a filename depending on call
  799.   ENDR
  800.  
  801. NotifyProcRecGS RECORD 0 ; GSOS
  802. pCount  DS.B 2 ; word -  
  803. procPointer  DS.B 4 ; ProcPtr -  
  804.   ENDR
  805.  
  806. GetNameRecGS RECORD 0 ; GSOS
  807. pCount  DS.B 2 ; Word - 
  808. dataBuffer  DS.B 4 ; ResultBuf255Ptr - full pathname or a filename depending on call
  809.   ENDR
  810.  
  811. NewlineRecGS RECORD 0 ; GSOS
  812. pCount  DS.B 2 ; Word - 
  813. refNum  DS.B 2 ; Word - 
  814. enableMask  DS.B 2 ; Word - 
  815. numChars  DS.B 2 ; Word - 
  816. newlineTable  DS.B 4 ; Pointer - 
  817.   ENDR
  818.  
  819. OpenRecGS RECORD 0 ; GSOS
  820. pCount  DS.B 2 ; Word - 
  821. refNum  DS.B 2 ; Word - 
  822. pathname  DS.B 4 ; GSString255Ptr - 
  823. requestAccess  DS.B 2 ; Word - 
  824. resourceNumber  DS.B 2 ; Word - For extended files: dataFork/resourceFork
  825. access  DS.B 2 ; Word - Value of file's access attribute
  826. fileType  DS.B 2 ; Word - Value of file's fileType attribute
  827. auxType  DS.B 4 ; Long - 
  828. storageType  DS.B 2 ; Word - 
  829. createDateTime  DS TimeRec ; TimeRec - 
  830. modDateTime  DS TimeRec ; TimeRec - 
  831. optionList  DS.B 4 ; ResultBuf255Ptr - 
  832. eof  DS.B 4 ; Long - 
  833. blocksUsed  DS.B 4 ; Long - 
  834. resourceEOF  DS.B 4 ; Long - 
  835. resourceBlocks  DS.B 4 ; Long - 
  836.   ENDR
  837.  
  838. OSShutDownRecGS RECORD 0 ; GSOS
  839. pCount  DS.B 2 ; Word - 
  840. shutdownFlag  DS.B 2 ; Word - 
  841.   ENDR
  842.  
  843. PositionRecGS RECORD 0 ; GSOS
  844. pCount  DS.B 2 ; Word - 
  845. refNum  DS.B 2 ; Word - 
  846. position  DS.B 4 ; Long - 
  847.   ENDR
  848.  
  849. EOFRecGS RECORD 0 ; GSOS
  850. pCount  DS.B 2 ; Word - 
  851. refNum  DS.B 2 ; Word - 
  852. eof  DS.B 4 ; Long - 
  853.   ENDR
  854.  
  855.  
  856. QuitRecGS RECORD 0 ; GSOS
  857. pCount  DS.B 2 ; Word - 
  858. pathname  DS.B 4 ; GSString255Ptr - pathname of next app to run
  859. flags  DS.B 2 ; Word - 
  860.   ENDR
  861.  
  862. RefNumRecGS RECORD 0 ; GSOS
  863. pCount  DS.B 2 ; Word - 
  864. refNum  DS.B 2 ; word - 
  865.   ENDR
  866.  
  867. GetRefNumRecGS RECORD 0 ; GSOS
  868. pCount  DS.B 2 ; Word - 
  869. pathname  DS.B 4 ; GSString255Ptr - 
  870. refNum  DS.B 2 ; word - 
  871. access  DS.B 2 ; word - 
  872. resNum  DS.B 2 ; word - 
  873. caseSense  DS.B 4 ; Boolean - 
  874. displacement  DS.B 2 ; word - 
  875.   ENDR
  876.  
  877. StdRefNumRecGS RECORD 0 ; GSOS
  878. pCount  DS.B 2 ; word -  
  879. prefixNum  DS.B 2 ; word -  
  880. refNum  DS.B 2 ; word -  
  881.   ENDR
  882.  
  883. SessionStatusRecGS RECORD 0 ; GSOS
  884. pCount  DS.B 2 ; Word - in: min = 1
  885. status  DS.B 2 ; Word - out:
  886.   ENDR
  887.  
  888. SetPositionRecGS RECORD 0 ; GSOS
  889. pCount  DS.B 2 ; Word - 
  890. refNum  DS.B 2 ; Word - 
  891. base  DS.B 2 ; Word - 
  892. displacement  DS.B 4 ; Long - 
  893.   ENDR
  894.  
  895. SysPrefsRecGS RECORD 0 ; GSOS
  896. pCount  DS.B 2 ; Word - 
  897. preferences  DS.B 2 ; Word - 
  898.   ENDR
  899.  
  900. VersionRecGS RECORD 0 ; GSOS
  901. pCount  DS.B 2 ; Word - 
  902. version  DS.B 2 ; Word - 
  903.   ENDR
  904.  
  905. VolumeRecGS RECORD 0 ; GSOS
  906. pCount  DS.B 2 ; Word - 
  907. devName  DS.B 4 ; GSString32Ptr - 
  908. volName  DS.B 4 ; ResultBuf255Ptr - 
  909. totalBlocks  DS.B 4 ; Long - 
  910. freeBlocks  DS.B 4 ; Long - 
  911. fileSysID  DS.B 2 ; Word - 
  912. blockSize  DS.B 2 ; Word - 
  913.   ENDR
  914.  
  915. RefInfoRecGS RECORD 0 ; GSOS
  916. pCount  DS.B 2 ; word -  
  917. refNum  DS.B 2 ; word -  
  918. access  DS.B 2 ; word -  
  919. pathname  DS.B 4 ; ResultBuf255Ptr -  
  920.   ENDR
  921.  
  922. IntDivRec RECORD 0 ; IntMath
  923. quotient  DS.B 2 ; Integer - quotient from SDivide
  924. remainder  DS.B 2 ; Integer - remainder from SDivide
  925.   ENDR
  926.  
  927. LongDivRec RECORD 0 ; IntMath
  928. quotient  DS.B 4 ; Longint - Quotient from LongDiv
  929. remainder  DS.B 4 ; Longint - remainder from LongDiv
  930.   ENDR
  931.  
  932. LongMulRec RECORD 0 ; IntMath
  933. lsResult  DS.B 4 ; Longint - low 2 words of product
  934. msResult  DS.B 4 ; Longint - High 2 words of product
  935.   ENDR
  936.  
  937. WordDivRec RECORD 0 ; IntMath
  938. quotient  DS.B 2 ; Word - Quotient from UDivide
  939. remainder  DS.B 2 ; Word - remainder from UDivide
  940.   ENDR
  941.  
  942. LColorTable RECORD 0 ; List
  943. listFrameClr  DS.B 2 ; Word - Frame color
  944. listNorTextClr  DS.B 2 ; Word - Unhighlighted text color
  945. listSelTextClr  DS.B 2 ; Word - Highlighted text color
  946. listNorBackClr  DS.B 2 ; Word - Unhighlighted background color
  947. listSelBackClr  DS.B 2 ; Word - Highlighted backgraound color
  948.   ENDR
  949.  
  950. MemRec RECORD 0 ; List
  951. memPtr  DS.B 4 ; Pointer - Pointer to string, or custom
  952. memFlag  DS.B 1 ; Byte - Bit Flag
  953.   ENDR
  954.  
  955. ListCtlRec RECORD 0 ; List
  956. ctlNext  DS.B 4 ; CtlRecHndl - Handle of Next Control
  957. ctlOwner  DS.B 4 ; GrafPortPtr - Window owner
  958. ctlRect  DS Rect ; Rect - Enclosing Rect
  959. ctlFlag  DS.B 1 ; Byte - Bit 7 visible, Bit 0 string type, Bit 1 multiple
  960. ctlHilite  DS.B 1 ; Byte - (not used)
  961. ctlValue  DS.B 2 ; Word - First member in display
  962. ctlProc  DS.B 4 ; LongProcPtr - Address of list definition procedure
  963. ctlAction  DS.B 4 ; LongProcPtr - Address of list action procedure
  964. ctlData  DS.B 4 ; Long - Low = view size, High = total members
  965. ctlRefCon  DS.B 4 ; Long - Not used
  966. ctlColor  DS.B 4 ; LColorTablePtr - Null for default colors
  967. ctlMemDraw  DS.B 4 ; VoidProcPtr - Address of routine to draw members
  968. ctlMemHeight  DS.B 2 ; Word - Member's Height in Pixels
  969. ctlMemSize  DS.B 2 ; Word - Bytes in member record
  970. ctlList  DS.B 4 ; MemRecPtr - Adress of first member record in array
  971. ctlListBar  DS.B 4 ; CtlRecHndl - Handle of list contrlo's scroll bar control
  972.   ENDR
  973.  
  974. ListRec RECORD 0 ; List
  975. listRect  DS Rect ; Rect - Enclosing Rectangle
  976. listSize  DS.B 2 ; Word - Number of List Members
  977. listView  DS.B 2 ; Word - Max Viewable members
  978. listType  DS.B 2 ; Word - Bit Flag
  979. listStart  DS.B 2 ; Word - First member in view
  980. listCtl  DS.B 4 ; CtlRecHndl - List control's handle
  981. listDraw  DS.B 4 ; VoidProcPtr - Address of Custom drawing routine
  982. listMemHeight  DS.B 2 ; Word - Height of list members
  983. listMemSize  DS.B 2 ; Word - Size of Member Records
  984. listPointer  DS.B 4 ; MemRecPtr - Pointer to first element in MemRec array
  985. listRefCon  DS.B 4 ; Long - becomes Control's refCon
  986. listScrollClr  DS.B 4 ; BarColorsPtr - Color table for list's scroll bar
  987.   ENDR
  988.  
  989. InitialLoadOutputRec RECORD 0 ; Loader
  990. userID  DS.B 2 ; Word - 
  991. startAddr  DS.B 4 ; Pointer - 
  992. dPageAddr  DS.B 2 ; Word - 
  993. buffSize  DS.B 2 ; Word - 
  994.   ENDR
  995.  
  996. RestartOutRec RECORD 0 ; Loader
  997. userID  DS.B 2 ; Word - 
  998. startAddr  DS.B 4 ; Pointer - 
  999. dPageAddr  DS.B 2 ; Word - 
  1000. buffSize  DS.B 2 ; Word - 
  1001.   ENDR
  1002.  
  1003. LoadSegNameOut RECORD 0 ; Loader
  1004. segAddr  DS.B 4 ; Pointer - 
  1005. userID  DS.B 2 ; Word - 
  1006. fileNum  DS.B 2 ; Word - 
  1007. segNum  DS.B 2 ; Word -  
  1008.   ENDR
  1009.  
  1010. UnloadSegOutRec RECORD 0 ; Loader
  1011. userID  DS.B 2 ; Word - 
  1012. fileNum  DS.B 2 ; Word - 
  1013. segNum  DS.B 2 ; Word - 
  1014.   ENDR
  1015.  
  1016. QDIconRecord RECORD 0 ; QDAux
  1017. iconType  DS.B 2 ; Word -  
  1018. iconSize  DS.B 2 ; Word -  
  1019. iconHeight  DS.B 2 ; Word -  
  1020. iconWidth  DS.B 2 ; Word -  
  1021. iconImage  DS.B 1 ; Byte[1] -  
  1022. iconMask  DS.B 1 ; Byte[1] -  
  1023.   ENDR
  1024.  
  1025. Picture RECORD 0 ; QDAux
  1026. picSCB  DS.B 2 ; Word - 
  1027. picFrame  DS Rect ; Rect - 
  1028. pVersion  DS.B 2 ; Word - Followed by picture opcodes 
  1029.   ENDR
  1030.  
  1031. LeakTable RECORD 0 ; QDAux
  1032. leakCount  DS.B 2 ; word -  
  1033. leakColors  DS.B 32 ; word[16] -  
  1034.   ENDR
  1035.  
  1036. MessageRec RECORD 0 ; Locator
  1037. messageNext  DS.B 4 ; MessageRecHndl -  
  1038. messageType  DS.B 2 ; Integer -  
  1039. messageData  DS.B 2 ; Integer -  
  1040. fileNames  DS.B 100 ; Str255[1] -  
  1041.   ENDR
  1042.  
  1043. ToolSpec RECORD 0 ; Locator
  1044. toolNumber  DS.B 2 ; Word -  
  1045. minVersion  DS.B 2 ; Word -  
  1046.   ENDR
  1047.  
  1048. ToolTable RECORD 0 ; Locator
  1049. toolCount  DS.B 2 ; word -  
  1050. theTools  DS.B 64 ; ToolSpec[theToolsLength] -  
  1051.   ENDR
  1052.  
  1053. StartStopRecord RECORD 0 ; Locator
  1054. flags  DS.B 2 ; Word - 
  1055. videoMode  DS.B 2 ; Word - 
  1056. resFileID  DS.B 2 ; Word - 
  1057. dPageHandle  DS.B 4 ; Handle - 
  1058. numTools  DS.B 2 ; Word - 
  1059. theTools  DS.B 64 ; ToolSpec[theToolsLength] -  
  1060.   ENDR
  1061.  
  1062. MenuRec RECORD 0 ; Menu
  1063. menuID  DS.B 2 ; Word - Menu's ID number
  1064. menuWidth  DS.B 2 ; Word - Width of menu
  1065. menuHeight  DS.B 2 ; Word - Height of menu
  1066. menuProc  DS.B 4 ; WordProcPtr - Menu's definition procedure
  1067. menuFlag  DS.B 2 ; Word - Bit flags
  1068. numOfItems  DS.B 2 ; Word - 
  1069. titleWidth  DS.B 2 ; Word - Width of menu's title
  1070. titleName  DS.B 4 ; Pointer - 
  1071. menuCache  DS.B 4 ; Handle - 
  1072.   ENDR
  1073.  
  1074. MenuItemTemplate RECORD 0 ; Menu
  1075. version  DS.B 2 ; word - Version number (must be 0)
  1076. itemID  DS.B 2 ; word - Menu item ID
  1077. itemChar  DS.B 1 ; byte - Primary keystroke character
  1078. itemAltChar  DS.B 1 ; byte - Alternate keystroke character
  1079. itemCheck  DS.B 2 ; word - Character code for checked items
  1080. itemFlag  DS.B 2 ; word - Menu item flag word
  1081. itemTitleRef  DS.B 4 ; Ref - Reference to item title string
  1082.   ENDR
  1083.  
  1084. MenuTemplate RECORD 0 ; Menu
  1085. version  DS.B 2 ; word - Version number (must be 0)
  1086. menuID  DS.B 2 ; word - Menu ID
  1087. menuFlag  DS.B 2 ; word - Menu flag word
  1088. menuTitleRef  DS.B 4 ; Ref - Reference to menu title string
  1089. itemRefArray  DS.B 20 ; Ref[mtItemRefArrayLength] - mtItemRefArrayLength references to menu items 
  1090.   ENDR
  1091.  
  1092. MenuBarTemplate RECORD 0 ; Menu
  1093. version  DS.B 2 ; word - Version number (must be 0)
  1094. menuFlag  DS.B 2 ; word - MenuBar flag word
  1095. menuRefArray  DS.B 20 ; Ref[mbtMenuRefArrayLength] - mbtMenuRefArrayLength references to menus
  1096.   ENDR
  1097.  
  1098. MiBufInfo RECORD 0 ; Midi
  1099. bufSize  DS.B 2 ; Word - size of buffer (0 for default)
  1100. address  DS.B 4 ; Pointer - address of buffer (0 for auto-allocation)
  1101.   ENDR
  1102.  
  1103. MiDriverInfo RECORD 0 ; Midi
  1104. slot  DS.B 2 ; Word - device slot
  1105. external  DS.B 2 ; Word - slot internal (=0) / external (=1)
  1106. pathname  DS.B 65 ; Byte[65] - device driver pathname
  1107.   ENDR
  1108.  
  1109. LocRec RECORD 0 ; NoteSeq
  1110. curPhraseItem  DS.B 2 ; Word - 
  1111. curPattItem  DS.B 2 ; Word - 
  1112. curLevel  DS.B 2 ; Word - 
  1113.   ENDR
  1114.  
  1115. Envelope RECORD 0 ; Notesyn
  1116. st1BkPt  DS.B 1 ; Byte - 
  1117. st1Increment  DS.B 2 ; Word - 
  1118. st2BkPt  DS.B 1 ; Byte - 
  1119. st2Increment  DS.B 2 ; Word - 
  1120. st3BkPt  DS.B 1 ; Byte - 
  1121. st3Increment  DS.B 2 ; Word - 
  1122. st4BkPt  DS.B 1 ; Byte - 
  1123. st4Increment  DS.B 2 ; Word - 
  1124. st5BkPt  DS.B 1 ; Byte - 
  1125. st5Increment  DS.B 2 ; Word - 
  1126. st6BkPt  DS.B 1 ; Byte - 
  1127. st6Increment  DS.B 2 ; Word - 
  1128. st7BkPt  DS.B 1 ; Byte - 
  1129. st7Increment  DS.B 2 ; Word - 
  1130. st8BkPt  DS.B 1 ; Byte - 
  1131. st8Increment  DS.B 2 ; Word - 
  1132.   ENDR
  1133.  
  1134. WaveForm RECORD 0 ; Notesyn
  1135. wfTopKey  DS.B 1 ; Byte - 
  1136. wfWaveAddress  DS.B 1 ; Byte - 
  1137. wfWaveSize  DS.B 1 ; Byte - 
  1138. wfDocMode  DS.B 1 ; Byte - 
  1139. wfRelPitch  DS.B 2 ; Word - 
  1140.   ENDR
  1141.  
  1142. Instrument RECORD 0 ; Notesyn
  1143. theEnvelope  DS Envelope ; Envelope - 
  1144. releaseSegment  DS.B 1 ; Byte - 
  1145. priorityIncrement  DS.B 1 ; Byte - 
  1146. pitchBendRange  DS.B 1 ; Byte - 
  1147. vibratoDepth  DS.B 1 ; Byte - 
  1148. vibratoSpeed  DS.B 1 ; Byte - 
  1149. inSpare  DS.B 1 ; Byte - 
  1150. aWaveCount  DS.B 1 ; Byte - 
  1151. bWaveCount  DS.B 1 ; Byte - 
  1152. aWaveList  DS.B 6 ; WaveForm[1] - 
  1153. bWaveList  DS.B 6 ; WaveForm[1] - 
  1154.   ENDR
  1155.  
  1156. BlockRec RECORD 0 ; ProDOS
  1157. blockDevNum  DS.B 2 ; Word - 
  1158. blockDataBuffer  DS.B 4 ; Ptr - 
  1159. blockNum  DS.B 4 ; Longint - 
  1160.   ENDR
  1161.  
  1162. DevNumRec RECORD 0 ; ProDOS
  1163. devName  DS.B 4 ; Ptr - 
  1164. devNum  DS.B 2 ; Word - 
  1165.   ENDR
  1166.  
  1167. DInfoRec RECORD 0 ; ProDOS
  1168. devNum  DS.B 2 ; Word - 
  1169. devName  DS.B 4 ; Ptr - 
  1170.   ENDR
  1171.  
  1172. DirEntryRec RECORD 0 ; ProDOS
  1173. refNum  DS.B 2 ; Word - 
  1174. flags  DS.B 2 ; Word - 
  1175. base  DS.B 2 ; Word - 
  1176. displacement  DS.B 2 ; Word - 
  1177. nameBuffer  DS.B 4 ; Pointer - 
  1178. entryNum  DS.B 2 ; Word - 
  1179. fileType  DS.B 2 ; Word - 
  1180. endOfFile  DS.B 4 ; Longint - 
  1181. blockCount  DS.B 4 ; Long - 
  1182. createTime  DS TimeRec ; TimeRec - 
  1183. modTime  DS TimeRec ; TimeRec - 
  1184. access  DS.B 2 ; Word - 
  1185. auxType  DS.B 4 ; Long - 
  1186. fileSysID  DS.B 2 ; Word - 
  1187.   ENDR
  1188.  
  1189. EOFRec RECORD 0 ; ProDOS
  1190. eofRefNum  DS.B 2 ; Word - 
  1191. eofPosition  DS.B 4 ; Longint - 
  1192.   ENDR
  1193.  
  1194. FileIORec RECORD 0 ; ProDOS
  1195. fileRefNum  DS.B 2 ; Word - 
  1196. dataBuffer  DS.B 4 ; Ptr - 
  1197. requestCount  DS.B 4 ; Longint - 
  1198. transferCount  DS.B 4 ; Longint - 
  1199.   ENDR
  1200.  
  1201. FileRec RECORD 0 ; ProDOS
  1202. pathname  DS.B 4 ; Ptr - 
  1203. fAccess  DS.B 2 ; Word - 
  1204. fileType  DS.B 2 ; Word - 
  1205. auxType  DS.B 4 ; Longint - 
  1206. storageType  DS.B 2 ; Word - 
  1207. createDate  DS.B 2 ; Word - 
  1208. createTime  DS.B 2 ; Word - 
  1209. modDate  DS.B 2 ; Word - 
  1210. modTime  DS.B 2 ; Word - 
  1211. blocksUsed  DS.B 4 ; Longint - 
  1212.   ENDR
  1213.  
  1214. FormatRec RECORD 0 ; ProDOS
  1215. devName  DS.B 4 ; Ptr - device name pointer
  1216. volName  DS.B 4 ; Ptr - device name pointer
  1217. fileSysID  DS.B 2 ; Word - file system ID
  1218.   ENDR
  1219.  
  1220. EraseDiskRec RECORD 0 ; ProDOS
  1221. devName  DS.B 4 ; Ptr - device name pointer
  1222. volName  DS.B 4 ; Ptr - device name pointer
  1223. fileSysID  DS.B 2 ; Word - file system ID
  1224.   ENDR
  1225.  
  1226. InterruptRec RECORD 0 ; ProDOS
  1227. intNum  DS.B 2 ; Word - 
  1228. intCode  DS.B 4 ; Ptr - 
  1229.   ENDR
  1230.  
  1231. MarkRec RECORD 0 ; ProDOS
  1232. markRefNum  DS.B 2 ; Word - 
  1233. position  DS.B 4 ; Long - 
  1234.   ENDR
  1235.  
  1236. NewLineRec RECORD 0 ; ProDOS
  1237. newLRefNum  DS.B 2 ; Word - 
  1238. enableMask  DS.B 2 ; Word - 
  1239. newlineChar  DS.B 2 ; Word - 
  1240.   ENDR
  1241.  
  1242. OpenRec RECORD 0 ; ProDOS
  1243. openRefNum  DS.B 2 ; Word - 
  1244. openPathname  DS.B 4 ; Ptr - 
  1245. ioBuffer  DS.B 4 ; Handle - 
  1246.   ENDR
  1247.  
  1248. PathNameRec RECORD 0 ; ProDOS
  1249. pathname  DS.B 4 ; Ptr - 
  1250. newPathname  DS.B 4 ; Ptr - 
  1251.   ENDR
  1252.  
  1253. PrefixRec RECORD 0 ; ProDOS
  1254. prefixNum  DS.B 2 ; Word - 
  1255. prefix  DS.B 4 ; Ptr - 
  1256.   ENDR
  1257.  
  1258. QuitRec RECORD 0 ; ProDOS
  1259. quitPathname  DS.B 4 ; Ptr - 
  1260. flags  DS.B 2 ; Word - 
  1261.   ENDR
  1262.  
  1263. VolumeRec RECORD 0 ; ProDOS
  1264. deviceName  DS.B 4 ; Ptr - 
  1265. volName  DS.B 4 ; Ptr - 
  1266. totalBlocks  DS.B 4 ; Long - 
  1267. freeBlocks  DS.B 4 ; Long - 
  1268. fileSysID  DS.B 2 ; Word - 
  1269.   ENDR
  1270.  
  1271. ResHeaderRec RECORD 0 ; Resources
  1272. rFileVersion  DS.B 4 ; Long - Format version of resource fork
  1273. rFileToMap  DS.B 4 ; Long - Offset from start to resource map record
  1274. rFileMapSize  DS.B 4 ; Long - Number of bytes map occupies in file
  1275. rFileMemo  DS.B 128 ; byte[128] - Reserved space for application
  1276. rFileRecSize  DS.B 4 ; Long - Size of ResHeaderRec Record
  1277.   ENDR
  1278.  
  1279. FreeBlockRec RECORD 0 ; Resources
  1280. blkOffset  DS.B 4 ; Long - 
  1281. blkSize  DS.B 4 ; Long - 
  1282.   ENDR
  1283.  
  1284. ResMap RECORD 0 ; Resources
  1285. mapNext  DS.B 4 ; ResMapHndl - Handle to next resource map
  1286. mapFlag  DS.B 2 ; Word - Bit Flags
  1287. mapOffset  DS.B 4 ; Long - Map's file position
  1288. mapSize  DS.B 4 ; Long - Number of bytes map occupies in file
  1289. mapToIndex  DS.B 2 ; Word - 
  1290. mapFileNum  DS.B 2 ; Word - 
  1291. mapID  DS.B 2 ; Word - 
  1292. mapIndexSize  DS.B 4 ; Long - 
  1293. mapIndexUsed  DS.B 4 ; Long - 
  1294. mapFreeListSize  DS.B 2 ; Word - 
  1295. mapFreeListUsed  DS.B 2 ; Word - 
  1296. mapFreeList  DS.B 8 ; FreeBlockRec[1] - n bytes (array of free block records)
  1297.   ENDR
  1298.  
  1299. ResRefRec RECORD 0 ; Resources
  1300. resType  DS.B 2 ; ResType - 
  1301. resID  DS.B 4 ; ResID - 
  1302. resOffset  DS.B 4 ; Long - 
  1303. resAttr  DS.B 2 ; ResAttr - 
  1304. resSize  DS.B 4 ; Long - 
  1305. resHandle  DS.B 4 ; Handle - 
  1306.   ENDR
  1307.  
  1308. ResourceSpec RECORD 0 ; Resources
  1309. resourceType  DS.B 2 ; ResType -  
  1310. resourceID  DS.B 4 ; ResID -  
  1311.   ENDR
  1312.  
  1313. ResNameEntry RECORD 0 ; Resources
  1314. namedResID  DS.B 4 ; ResID -  
  1315. resName  DS Str255 ; Str255 -  
  1316.   ENDR
  1317.  
  1318. ResNameRec RECORD 0 ; Resources
  1319. version  DS.B 2 ; word - 
  1320. nameCount  DS.B 4 ; long - 
  1321. resNameEntries  DS.B 4 ; ResNameEntry[1] - 
  1322.   ENDR
  1323.  
  1324. GetLInfoPB RECORD 0 ; Shell
  1325. sfile  DS.B 4 ; Ptr - address of source file name
  1326. dfile  DS.B 4 ; Ptr - address of output file name
  1327. parms  DS.B 4 ; Ptr - address of parameter list
  1328. istring  DS.B 4 ; Ptr - address of language specific input string
  1329. merr  DS.B 1 ; Byte - max error level allowed
  1330. merrf  DS.B 1 ; Byte - max error level found
  1331. lops  DS.B 1 ; Byte - operations flag
  1332. kflag  DS.B 1 ; Byte - KEEP flag
  1333. mflags  DS.B 4 ; unsigned long - set of letters selected with '-'
  1334. pflags  DS.B 4 ; unsigned long - set of letters selected with '+'
  1335. org  DS.B 4 ; unsigned long - abs start address of non-relloc load file
  1336.   ENDR
  1337.  
  1338. SoundParamBlock RECORD 0 ; Sound
  1339. waveStart  DS.B 4 ; Pointer - starting address of wave
  1340. waveSize  DS.B 2 ; Word - waveform size in pages
  1341. freqOffset  DS.B 2 ; Word - ? formula to be provided
  1342. docBuffer  DS.B 2 ; Word - DOC buffer start address, low byte = 0
  1343. bufferSize  DS.B 2 ; Word - DOC buffer start address, low byte = 0
  1344. nextWavePtr  DS.B 4 ; SoundPBPtr - Pointer to start of next wave's parameter block
  1345. volSetting  DS.B 2 ; Word - DOC volume setting. High byte = 0
  1346.   ENDR
  1347.  
  1348. DocRegParamBlk RECORD 0 ; Sound
  1349. oscGenType  DS.B 2 ; Word -  
  1350. freqLow1  DS.B 1 ; Byte -  
  1351. freqHigh1  DS.B 1 ; Byte -  
  1352. vol1  DS.B 1 ; Byte -  
  1353. tablePtr1  DS.B 1 ; Byte -  
  1354. control1  DS.B 1 ; Byte -  
  1355. tableSize1  DS.B 1 ; Byte -  
  1356. freqLow2  DS.B 1 ; Byte -  
  1357. freqHigh2  DS.B 1 ; Byte -  
  1358. vol2  DS.B 1 ; Byte -  
  1359. tablePtr2  DS.B 1 ; Byte -  
  1360. control2  DS.B 1 ; Byte -  
  1361. tableSize2  DS.B 1 ; Byte -  
  1362.   ENDR
  1363.  
  1364. SFReplyRec RECORD 0 ; StdFile
  1365. good  DS.B 2 ; Boolean - TRUE for open; FALSE for cancel
  1366. fileType  DS.B 2 ; Word - ProDOS file type
  1367. auxFileType  DS.B 2 ; Word - ProDOS aux file type
  1368. filename  DS.B 16 ; char[16] - length byte - Name of file in prefix 0
  1369. fullPathname  DS.B 129 ; char[129] - length byte - The full pathname of the selected file.
  1370.   ENDR
  1371.  
  1372. SFReplyRec2 RECORD 0 ; StdFile
  1373. good  DS.B 4 ; Boolean - 
  1374. fileType  DS.B 2 ; Word - 
  1375. auxType  DS.B 4 ; Long - 
  1376. nameRefDesc  DS.B 2 ; RefDescriptor - 
  1377. nameRef  DS.B 4 ; Ref - 
  1378. pathRefDesc  DS.B 2 ; RefDescriptor - 
  1379. pathRef  DS.B 4 ; Ref - 
  1380.   ENDR
  1381.  
  1382. multiReplyRecord RECORD 0 ; StdFile
  1383. good  DS.B 2 ; Word -  
  1384. namesHandle  DS.B 4 ; Handle -  
  1385.   ENDR
  1386.  
  1387. SFTypeList RECORD 0 ; StdFile
  1388. numEntries  DS.B 1 ; byte - 
  1389. fileTypeEntries  DS.B 5 ; byte[sfFileTypeEntriesLength] - 
  1390.   ENDR
  1391.  
  1392. TypeSelector2 RECORD 0 ; StdFile
  1393. flags  DS.B 2 ; Word -  
  1394. fileType  DS.B 2 ; Word -  
  1395. auxType  DS.B 4 ; Long -  
  1396.   ENDR
  1397.  
  1398. SFTypeList2 RECORD 0 ; StdFile
  1399. numEntries  DS.B 2 ; Word - 
  1400. fileTypeEntries  DS.B 40 ; TypeSelector2[sfFileTypeEntriesLength] - 
  1401.   ENDR
  1402.  
  1403. TETextBlock RECORD 0 ; TextEdit
  1404. nextHandle  DS.B 4 ; TETextBlockHndl - Handle to next TextBlock in list
  1405. prevHandle  DS.B 4 ; TETextBlockHndl - Handle to previous TextBlock in list
  1406. textLength  DS.B 4 ; Long - Number of bytes of theText
  1407. flags  DS.B 2 ; Word - 
  1408. reserved  DS.B 2 ; Word - Reserved
  1409. theText  DS.B 1 ; Byte[1] - textLength bytes of text 
  1410.   ENDR
  1411.  
  1412. TETextList RECORD 0 ; TextEdit
  1413. cachedHandle  DS.B 4 ; TETextBlockHndl - Handle to current TextBlock
  1414. cachedOffset  DS.B 4 ; Long - Text offset of the start of the current TextBlock
  1415.   ENDR
  1416.  
  1417. TEColorTable RECORD 0 ; TextEdit
  1418. contentColor  DS.B 2 ; word - 
  1419. outlineColor  DS.B 2 ; word - 
  1420. hiliteForeColor  DS.B 2 ; word - 
  1421. hiliteBackColor  DS.B 2 ; word - 
  1422. vertColorDescriptor  DS.B 2 ; word - 
  1423. vertColorRef  DS.B 4 ; long - 
  1424. horzColorDescriptor  DS.B 2 ; word - 
  1425. horzColorRef  DS.B 4 ; long - 
  1426. growColorDescriptor  DS.B 2 ; word - 
  1427. growColorRef  DS.B 4 ; long - 
  1428.   ENDR
  1429.  
  1430. TEBlockEntry RECORD 0 ; TextEdit
  1431. text  DS.B 4 ; Handle -  
  1432. length  DS.B 4 ; Handle -  
  1433. flags  DS.B 2 ; word -  
  1434.   ENDR
  1435.  
  1436. TEBlocksRecord RECORD 0 ; TextEdit
  1437. start  DS.B 4 ; long -  
  1438. index  DS.B 2 ; word -  
  1439. blocks  DS.B 10 ; TEBlockEntry[1] -  
  1440.   ENDR
  1441.  
  1442. TabItem RECORD 0 ; TextEdit
  1443. tabKind  DS.B 2 ; Word - 
  1444. tabData  DS.B 2 ; Word - 
  1445.   ENDR
  1446.  
  1447. TESuperItem RECORD 0 ; TextEdit
  1448. itemLength  DS.B 4 ; Long -  
  1449. itemData  DS.B 4 ; Long -  
  1450.   ENDR
  1451.  
  1452. TESuperBlock RECORD 0 ; TextEdit
  1453. nextHandle  DS.B 4 ; TESuperBlockHndl -  
  1454. prevHandle  DS.B 4 ; TESuperBlockHndl -  
  1455. textLength  DS.B 4 ; Long -  
  1456. reserved  DS.B 4 ; Long -  
  1457. theItems  DS.B 8 ; TESuperItem[1] -  
  1458.   ENDR
  1459.  
  1460. TESuperHandle RECORD 0 ; TextEdit
  1461. cachedHandle  DS.B 4 ; TESuperBlockHndl -  
  1462. cachedOffset  DS.B 4 ; Long -  
  1463. cachedIndex  DS.B 2 ; word -  
  1464. itemsPerBlock  DS.B 2 ; word -  
  1465.   ENDR
  1466.  
  1467. TERuler RECORD 0 ; TextEdit
  1468. leftMargin  DS.B 2 ; Word - 
  1469. leftIndent  DS.B 2 ; Word - 
  1470. rightMargin  DS.B 2 ; Word - 
  1471. just  DS.B 2 ; Word - 
  1472. extraLS  DS.B 2 ; Word - 
  1473. flags  DS.B 2 ; Word - 
  1474. userData  DS.B 4 ; Long - 
  1475. tabType  DS.B 2 ; Word - 
  1476. theTabs  DS.B 4 ; TabItem[1] - 
  1477. tabTerminator  DS.B 2 ; Word - 
  1478.   ENDR
  1479.  
  1480. TEStyle RECORD 0 ; TextEdit
  1481. styleFontID  DS FontID ; FontID - 
  1482. foreColor  DS.B 2 ; Word - 
  1483. backColor  DS.B 2 ; Word - 
  1484. userData  DS.B 4 ; Long - 
  1485.   ENDR
  1486.  
  1487. TEStyleGroup RECORD 0 ; TextEdit
  1488. count  DS.B 2 ; word -  
  1489. styles  DS.B 12 ; TEStyle[1] -  
  1490.   ENDR
  1491.  
  1492. StyleItem RECORD 0 ; TextEdit
  1493. dataLength  DS.B 4 ; long - Number of text characters using the style
  1494. dataOffset  DS.B 4 ; long - Byte offset into theStyleList entry
  1495.   ENDR
  1496.  
  1497. TEFormat RECORD 0 ; TextEdit
  1498. version  DS.B 2 ; word - 
  1499. rulerListLength  DS.B 4 ; long - 
  1500. theRulerList  DS.B 22 ; TERuler[1] - 
  1501. styleListLength  DS.B 4 ; long - 
  1502. theStyleList  DS.B 12 ; TEStyle[1] - 
  1503. numberOfStyles  DS.B 4 ; long - 
  1504. theStyles  DS.B 8 ; StyleItem[1] - 
  1505.   ENDR
  1506.  
  1507. TETextRef RECORD 0 ; TextEdit
  1508. textRefLong  DS.B 4 ; Ptr -  
  1509.   ENDR
  1510.  
  1511. TEStyleRef RECORD 0 ; TextEdit
  1512. styleRefLong  DS.B 4 ; Ptr -  
  1513.   ENDR
  1514.  
  1515. TEParamBlock RECORD 0 ; TextEdit
  1516. pCount  DS.B 2 ; word - 
  1517. controlID  DS.B 4 ; long - 
  1518. boundsRect  DS Rect ; Rect - 
  1519. procRef  DS.B 4 ; long - 
  1520. flags  DS.B 2 ; word - 
  1521. moreflags  DS.B 2 ; word - 
  1522. refCon  DS.B 4 ; long - 
  1523. textFlags  DS.B 4 ; long - 
  1524. indentRect  DS Rect ; Rect - 
  1525. vertBar  DS.B 4 ; CtlRecHndl - 
  1526. vertAmount  DS.B 2 ; word - 
  1527. horzBar  DS.B 4 ; CtlRecHndl - 
  1528. horzAmount  DS.B 2 ; word - 
  1529. styleRef  DS TEStyleRef ; TEStyleRef - 
  1530. textDescriptor  DS.B 2 ; Word - 
  1531. textRef  DS TETextRef ; TETextRef - 
  1532. textLength  DS.B 4 ; long - 
  1533. maxChars  DS.B 4 ; long - 
  1534. maxLines  DS.B 4 ; long - 
  1535. maxCharsPerLine  DS.B 2 ; word - 
  1536. maxHeight  DS.B 2 ; word - 
  1537. colorRef  DS.B 4 ; TEColorRef - 
  1538. drawMode  DS.B 2 ; word - 
  1539. filterProcPtr  DS.B 4 ; ProcPtr - 
  1540.   ENDR
  1541.  
  1542. TEInfoRec RECORD 0 ; TextEdit
  1543. charCount  DS.B 4 ; long -  
  1544. lineCount  DS.B 4 ; long -  
  1545. formatMemory  DS.B 4 ; long -  
  1546. totalMemory  DS.B 4 ; long -  
  1547. styleCount  DS.B 4 ; long -  
  1548. rulerCount  DS.B 4 ; long -  
  1549.   ENDR
  1550.  
  1551. TEHooks RECORD 0 ; TextEdit
  1552. charFilter  DS.B 4 ; ProcPtr -  
  1553. wordWrap  DS.B 4 ; ProcPtr -  
  1554. wordBreak  DS.B 4 ; ProcPtr -  
  1555. drawText  DS.B 4 ; ProcPtr -  
  1556. eraseText  DS.B 4 ; ProcPtr -  
  1557.   ENDR
  1558.  
  1559. TEKeyRecord RECORD 0 ; TextEdit
  1560. theChar  DS.B 2 ; Word -  
  1561. theModifiers  DS.B 2 ; Word -  
  1562. theInputHandle  DS.B 4 ; Handle -  
  1563. cursorOffset  DS.B 4 ; Long -  
  1564. theOpCode  DS.B 2 ; Word -  
  1565.   ENDR
  1566.  
  1567. TERecord RECORD 0 ; TextEdit
  1568. ctrlNext  DS.B 4 ; CtlRecHndl -  
  1569. inPort  DS.B 4 ; WindowPtr -  
  1570. boundsRect  DS Rect ; Rect -  
  1571. ctrlFlag  DS.B 1 ; Byte -  
  1572. ctrlHilite  DS.B 1 ; Byte -  
  1573. lastErrorCode  DS.B 2 ; Word -  
  1574. ctrlProc  DS.B 4 ; ProcPtr -  
  1575. ctrlAction  DS.B 4 ; ProcPtr -  
  1576. filterProc  DS.B 4 ; ProcPtr -  
  1577. ctrlRefCon  DS.B 4 ; Long -  
  1578. colorRef  DS.B 4 ; TEColorTablePtr -  
  1579. textFlags  DS.B 4 ; long -  
  1580. textLength  DS.B 4 ; long -  
  1581. blockList  DS TETextList ; TETextList -  
  1582. ctrlID  DS.B 4 ; long -  
  1583. ctrlMoreFlags  DS.B 2 ; Word -  
  1584. ctrlVersion  DS.B 2 ; Word -  
  1585. viewRect  DS Rect ; Rect -  
  1586. totalHeight  DS.B 4 ; long -  
  1587. lineSuper  DS TESuperHandle ; TESuperHandle -  
  1588. styleSuper  DS TESuperHandle ; TESuperHandle -  
  1589. styleList  DS.B 4 ; Handle -  
  1590. rulerList  DS.B 4 ; Handle -  
  1591. lineAtEndFlag  DS.B 4 ; Boolean -  
  1592. selectionStart  DS.B 4 ; long -  
  1593. selectionEnd  DS.B 4 ; long -  
  1594. selectionActive  DS.B 2 ; Word -  
  1595. selectionState  DS.B 2 ; Word -  
  1596. caretTime  DS.B 4 ; long -  
  1597. nullStyleActive  DS.B 4 ; Boolean -  
  1598. nullStyle  DS TEStyle ; TEStyle -  
  1599. topTextOffset  DS.B 4 ; long -  
  1600. topTextVPos  DS.B 2 ; word -  
  1601. vertScrollBar  DS.B 4 ; CtlRecHndl -  
  1602. vertScrollPos  DS.B 4 ; long -  
  1603. vertScrollMax  DS.B 4 ; long -  
  1604. vertScrollAmount  DS.B 2 ; word -  
  1605. horzScrollBar  DS.B 4 ; CtlRecHndl -  
  1606. horzScrollPos  DS.B 4 ; long -  
  1607. horzScrollMax  DS.B 4 ; long -  
  1608. horzScrollAmount  DS.B 2 ; word -  
  1609. growBoxHandle  DS.B 4 ; CtlRecHndl -  
  1610. maximumChars  DS.B 4 ; long -  
  1611. maximumLines  DS.B 4 ; long -  
  1612. maxCharsPerLine  DS.B 2 ; word -  
  1613. maximumHeight  DS.B 2 ; word -  
  1614. textDrawMode  DS.B 2 ; word -  
  1615. wordBreakHook  DS.B 4 ; ProcPtr -  
  1616. wordWrapHook  DS.B 4 ; ProcPtr -  
  1617. keyFilter  DS.B 4 ; ProcPtr -  
  1618. theFilterRect  DS Rect ; Rect -  
  1619. theBufferVPos  DS.B 2 ; Word -  
  1620. theBufferHPos  DS.B 2 ; Word -  
  1621. theKeyRecord  DS TEKeyRecord ; TEKeyRecord -  
  1622. cachedSelcOffset  DS.B 4 ; long -  
  1623. cachedSelcVPos  DS.B 2 ; word -  
  1624. cachedSelcHPos  DS.B 2 ; word -  
  1625. mouseRect  DS Rect ; Rect -  
  1626. mouseTime  DS.B 4 ; long -  
  1627. mouseKind  DS.B 2 ; word -  
  1628. lastClick  DS Point ; Point -  
  1629. savedHPos  DS.B 2 ; Word -  
  1630. anchorPoint  DS.B 4 ; long -  
  1631.   ENDR
  1632.  
  1633. DeviceRec RECORD 0 ; TextTool
  1634. ptrOrSlot  DS.B 4 ; Long - slot number or jump table ptr
  1635. deviceType  DS.B 2 ; Word - type of input device
  1636.   ENDR
  1637.  
  1638. TxtMaskRec RECORD 0 ; TextTool
  1639. orMask  DS.B 2 ; Word - 
  1640. andMask  DS.B 2 ; Word - 
  1641.   ENDR
  1642.  
  1643. EntName RECORD 0 ; AppleTalk
  1644. buffer  DS.B 99 ; byte[99] -  
  1645.   ENDR
  1646.  
  1647. ATInitTailRec RECORD 0 ; AppleTalk
  1648. pathVolID  DS.B 2 ; word -  
  1649. pathDirID  DS.B 4 ; long -  
  1650. path  DS.B 65 ; char[65] -  
  1651. prefixVolID  DS.B 2 ; word -  
  1652. prefixDirID  DS.B 4 ; long -  
  1653. prefix  DS.B 65 ; char[65] -  
  1654. userName  DS.B 33 ; char[33] -  
  1655. printerFlags  DS.B 1 ; byte -  
  1656. printerTuple  DS.B 99 ; byte[99] -  
  1657.   ENDR
  1658.  
  1659. ATGetInfoRec RECORD 0 ; AppleTalk
  1660. async  DS.B 1 ; Byte - 
  1661. command  DS.B 1 ; Byte - 
  1662. result  DS.B 2 ; Word - 
  1663. completionRtnReturn  DS.B 4 ; Long - 
  1664. thisNet  DS.B 2 ; Word - 
  1665. aBridge  DS.B 1 ; Byte - 
  1666. hardwareID  DS.B 1 ; Byte - 
  1667. romVersion  DS.B 2 ; Word - 
  1668. nodeNumber  DS.B 1 ; Byte - 
  1669.   ENDR
  1670.  
  1671. ATGetGlobalRec RECORD 0 ; AppleTalk
  1672. async  DS.B 1 ; Byte - 
  1673. command  DS.B 1 ; Byte - 
  1674. result  DS.B 2 ; Word - 
  1675. bufferPtr  DS.B 4 ; Ptr - 
  1676.   ENDR
  1677.  
  1678. ATGetGlobalBuffer RECORD 0 ; AppleTalk
  1679. lapDestinationNode  DS.B 1 ; Byte - 
  1680. lapSourceNode  DS.B 1 ; Byte - 
  1681. lapType  DS.B 1 ; Byte - 
  1682. hopCountDL  DS.B 1 ; Byte - 
  1683. datagramLength  DS.B 1 ; Byte - 
  1684. ddpChecksum  DS.B 2 ; Word - 
  1685. destinationNetwork  DS.B 2 ; Word - 
  1686. sourceNetwork  DS.B 2 ; Word - 
  1687. destinationNode  DS.B 1 ; Byte - 
  1688. sourceNode  DS.B 1 ; Byte - 
  1689. destinationSocket  DS.B 1 ; Byte - 
  1690. sourceSocket  DS.B 1 ; Byte - 
  1691. ddpType  DS.B 1 ; Byte - 
  1692. packetLength  DS.B 2 ; Word - 
  1693.   ENDR
  1694.  
  1695. ATInstallTimerRec RECORD 0 ; AppleTalk
  1696. async  DS.B 1 ; Byte - 
  1697. command  DS.B 1 ; Byte - 
  1698. result  DS.B 2 ; Word - 
  1699. completionRtnReturn  DS.B 4 ; Long - 
  1700. runningTickCount  DS.B 2 ; Word - 
  1701. ticksToComplete  DS.B 2 ; Word - 
  1702. reserved  DS.B 4 ; Pointer - 
  1703.   ENDR
  1704.  
  1705. ATRemoveTimerRec RECORD 0 ; AppleTalk
  1706. async  DS.B 1 ; Byte - 
  1707. command  DS.B 1 ; Byte - 
  1708. result  DS.B 2 ; Word - 
  1709. reserved  DS.B 12 ; Byte[12] - 
  1710.   ENDR
  1711.  
  1712. ATBootRec RECORD 0 ; AppleTalk
  1713. async  DS.B 1 ; Byte - 
  1714. command  DS.B 1 ; Byte - 
  1715. result  DS.B 2 ; Word - 
  1716.   ENDR
  1717.  
  1718. ATCancelTimerRec RECORD 0 ; AppleTalk
  1719. async  DS.B 1 ; Byte - 
  1720. command  DS.B 1 ; Byte - 
  1721. result  DS.B 2 ; Word - 
  1722. reserved  DS.B 12 ; Byte[12] - 
  1723.   ENDR
  1724.  
  1725. ASPAttentionHeaderRec RECORD 0 ; AppleTalk
  1726. sessionRefNum  DS.B 1 ; Byte -  
  1727. attenType  DS.B 1 ; Byte -  
  1728. atten  DS.B 2 ; Word -  
  1729.   ENDR
  1730.  
  1731. ASPGetParmsRec RECORD 0 ; AppleTalk
  1732. async  DS.B 1 ; Byte - asyncronous flag
  1733. command  DS.B 1 ; Byte - PAP command to execute
  1734. result  DS.B 2 ; Word - error result from a PAP operation
  1735. maxCmdSize  DS.B 2 ; Word - 
  1736. maxDataSize  DS.B 2 ; Word - 
  1737.   ENDR
  1738.  
  1739. ASPGetStatusRec RECORD 0 ; AppleTalk
  1740. async  DS.B 1 ; Byte - asyncronous flag
  1741. command  DS.B 1 ; Byte - PAP command to execute
  1742. result  DS.B 2 ; Word - error result from a PAP operation
  1743. completionPtr  DS.B 4 ; Long - pointer to the completion routine
  1744. slsNet  DS.B 2 ; Word - SLS Network Number
  1745. slsNode  DS.B 1 ; Byte - SLS Node Number
  1746. slsSocket  DS.B 1 ; Byte - SLS Socket Number
  1747. bufferLength  DS.B 2 ; Word - Buffer Length
  1748. bufferAddr  DS.B 4 ; Long - Buffer Address
  1749. dataLength  DS.B 2 ; Word - Length of Status Data
  1750.   ENDR
  1751.  
  1752. ASPOpenSessionRec RECORD 0 ; AppleTalk
  1753. async  DS.B 1 ; Byte - asyncronous flag
  1754. command  DS.B 1 ; Byte - PAP command to execute
  1755. result  DS.B 2 ; Word - error result from a PAP operation
  1756. completionPtr  DS.B 4 ; Long - pointer to the completion routine
  1757. slsNet  DS.B 2 ; Word - SLS Network Number
  1758. slsNode  DS.B 1 ; Byte - SLS Node Number
  1759. slsSocket  DS.B 1 ; Byte - SLS Socket Number
  1760. attnRtnAddr  DS.B 4 ; Long - Attention Routine Addr
  1761. refNum  DS.B 1 ; Byte - Session Reference Number
  1762.   ENDR
  1763.  
  1764. ASPCloseSessionRec RECORD 0 ; AppleTalk
  1765. async  DS.B 1 ; Byte - asyncronous flag
  1766. command  DS.B 1 ; Byte - PAP command to execute
  1767. result  DS.B 2 ; Word - error result from a PAP operation
  1768. completionPtr  DS.B 4 ; Long - pointer to the completion routine
  1769. refNum  DS.B 1 ; Byte - Session Reference Number
  1770.   ENDR
  1771.  
  1772. ASPCommandRec RECORD 0 ; AppleTalk
  1773. async  DS.B 1 ; Byte - asyncronous flag
  1774. command  DS.B 1 ; Byte - PAP command to execute
  1775. result  DS.B 2 ; Word - error result from a PAP operation
  1776. completionPtr  DS.B 4 ; Long - pointer to the completion routine
  1777. refNum  DS.B 1 ; Byte - Session Reference Number
  1778. cmdBlkLength  DS.B 2 ; Word - Command Block Length
  1779. cmdBlkAddr  DS.B 4 ; Long - Command Block Address
  1780. replyBufferLength  DS.B 2 ; Word - Reply Buffer Length
  1781. replyBufferAddr  DS.B 4 ; Long - Reply Buffer Address
  1782. cmdResult  DS.B 4 ; Long - Command Result
  1783. replyLength  DS.B 2 ; Word - Reply Length
  1784.   ENDR
  1785.  
  1786. ASPWriteRec RECORD 0 ; AppleTalk
  1787. async  DS.B 1 ; Byte - asyncronous flag
  1788. command  DS.B 1 ; Byte - PAP command to execute
  1789. result  DS.B 2 ; Word - error result from a PAP operation
  1790. completionPtr  DS.B 4 ; Long - pointer to the completion routine
  1791. refNum  DS.B 1 ; Byte - Session Reference Number
  1792. cmdBlkLength  DS.B 2 ; Word - Command Block Length
  1793. cmdBlkAddr  DS.B 4 ; Long - Command Block Address
  1794. writeDataLength  DS.B 2 ; Word - Write Data Length
  1795. writeDataAddr  DS.B 4 ; Long - Write Data Address
  1796. replyBufferLength  DS.B 2 ; Word - Reply Buffer Length
  1797. replyBufferAddr  DS.B 4 ; Long - Reply Buffer Address
  1798. cmdResult  DS.B 4 ; Long - Command Result
  1799. writtenLength  DS.B 2 ; Word - Written Length
  1800. replyLength  DS.B 2 ; Word - Reply Length
  1801.   ENDR
  1802.  
  1803. Server RECORD 0 ; AppleTalk
  1804. serverName  DS.B 4 ; Pointer - Pointer to a Server Entity
  1805. net  DS.B 2 ; Word - Net of the server
  1806. node  DS.B 1 ; Byte - Node of the server
  1807. socket  DS.B 1 ; Byte - Socket number of the server
  1808.   ENDR
  1809.  
  1810. ATPSendReqRec RECORD 0 ; AppleTalk
  1811. async  DS.B 1 ; Byte - asyncronous flag
  1812. command  DS.B 1 ; Byte - ATP command to execute
  1813. result  DS.B 2 ; Word - error result from the ATP operation
  1814. completionPtr  DS.B 4 ; Long - pointer to the completion routine
  1815. socketID  DS.B 1 ; Byte - dynamic socket number
  1816. destNetID  DS.B 2 ; Word - destination network #
  1817. destNodeID  DS.B 1 ; Byte - destination node #
  1818. destSocketID  DS.B 1 ; Byte - destination socket #
  1819. transactionID  DS.B 2 ; Word - transaction ID #
  1820. reqBufferLength  DS.B 2 ; Word - request buffer length
  1821. reqBufferPtr  DS.B 4 ; Long - pointer to the request buffer
  1822. userBytes  DS.B 4 ; Long - user BYTEs
  1823. numberRespBuffers  DS.B 1 ; Byte - number of response buffers
  1824. respBufferPtr  DS.B 4 ; Long - pointer to the response buffer
  1825. atpFlags  DS.B 1 ; Byte - flags for ATP transaction
  1826. rInterval  DS.B 1 ; Byte - timeout before retrying
  1827. rCount  DS.B 1 ; Byte - number of retries to attempt
  1828. bitMap  DS.B 1 ; Byte - bitmap indicating for packet reception
  1829. responseRcv  DS.B 1 ; Byte - number of responses received
  1830. reserved  DS.B 1 ; Byte - reserved for future use
  1831.   ENDR
  1832.  
  1833. ATPCancelReqRec RECORD 0 ; AppleTalk
  1834. async  DS.B 1 ; Byte - asyncronous flag
  1835. command  DS.B 1 ; Byte - ATP command to execute
  1836. result  DS.B 2 ; Word - error result from ATP operation
  1837. transactionID  DS.B 2 ; Word - transaction ID #
  1838.   ENDR
  1839.  
  1840. ATPOpenSocketRec RECORD 0 ; AppleTalk
  1841. async  DS.B 1 ; Byte - asyncronous flag
  1842. command  DS.B 1 ; Byte - ATP command to execute
  1843. result  DS.B 2 ; Word - error result from the ATP operation
  1844. socketID  DS.B 1 ; Byte - socket number to open
  1845.   ENDR
  1846.  
  1847. ATPCloseSocketRec RECORD 0 ; AppleTalk
  1848. async  DS.B 1 ; Byte - asyncronous flag
  1849. command  DS.B 1 ; Byte - ATP command to execute
  1850. result  DS.B 2 ; Word - error result from ATP operation
  1851. socketID  DS.B 1 ; Byte - socket number for closing
  1852.   ENDR
  1853.  
  1854. ATPGetReqRec RECORD 0 ; AppleTalk
  1855. async  DS.B 1 ; Byte - asyncronous flag
  1856. command  DS.B 1 ; Byte - ATP command to execute
  1857. result  DS.B 2 ; Word - error result from ATP operation
  1858. completionPtr  DS.B 4 ; Long - pointer to the completion routine
  1859. respSocketID  DS.B 1 ; Byte - response socket #
  1860. networkID  DS.B 2 ; Word - source network #
  1861. nodeID  DS.B 1 ; Byte - source node #
  1862. socketID  DS.B 1 ; Byte - source socket #
  1863. transactionID  DS.B 2 ; Word - ATP transaction ID
  1864. reqBufferLength  DS.B 2 ; Word - request buffer length
  1865. reqBufferPtr  DS.B 4 ; Long - pointer to request buffer
  1866. userBytes  DS.B 4 ; Long - user BYTEs
  1867. requestLength  DS.B 2 ; Word - actual request length
  1868. atpFlags  DS.B 1 ; Byte - ATP operation flags
  1869. bitMap  DS.B 1 ; Byte - bitmap for packet reception
  1870. reserved  DS.B 4 ; Long - reserved for future use
  1871.   ENDR
  1872.  
  1873. ATPSendRespRec RECORD 0 ; AppleTalk
  1874. async  DS.B 1 ; Byte - asyncronous flag
  1875. command  DS.B 1 ; Byte - ATP command to execute
  1876. result  DS.B 2 ; Word - result to the ATP operation
  1877. completionPtr  DS.B 4 ; Long - pointer to the completion routine
  1878. socketID  DS.B 1 ; Byte - response socket #
  1879. destNetID  DS.B 2 ; Word - destination network #
  1880. destNodeID  DS.B 1 ; Byte - destination node #
  1881. destSocketID  DS.B 1 ; Byte - destination socket #
  1882. transactionID  DS.B 2 ; Word - transaction ID #
  1883. numRespBuffers  DS.B 1 ; Byte - number of response buffers
  1884. totalPackets  DS.B 1 ; Byte - total ATP packets
  1885. respBDSPtr  DS.B 4 ; Long - pointer to the BDS buffer
  1886. atpFlags  DS.B 1 ; Byte - ATP operation flags
  1887. bitmap  DS.B 1 ; Byte - bitmap for packet reception
  1888. addRoutinePtr  DS.B 4 ; Long - pointer to a routine to call when packets have been released
  1889. stsFlag  DS.B 1 ; Byte - Flag indicating the use of STS servicing
  1890.   ENDR
  1891.  
  1892. ATPAddRespRec RECORD 0 ; AppleTalk
  1893. async  DS.B 1 ; Byte - asyncronous flag
  1894. command  DS.B 1 ; Byte - ATP command to execute
  1895. result  DS.B 2 ; Word - error result to the ATP operation
  1896. socketID  DS.B 1 ; Byte - response socket #
  1897. destNetID  DS.B 2 ; Word - destination network #
  1898. destNodeID  DS.B 1 ; Byte - destination node #
  1899. destSocketID  DS.B 1 ; Byte - destination socket #
  1900. transactionID  DS.B 2 ; Word - ATP transaction ID #
  1901. respBufferLength  DS.B 2 ; Word - length of the response buffer
  1902. respBufferPtr  DS.B 4 ; Long - pointer to the response buffer
  1903. userBytes  DS.B 4 ; Long - user BYTEs
  1904. atpFlags  DS.B 1 ; Byte - ATP operation flag
  1905.   ENDR
  1906.  
  1907. ATPRelCBRec RECORD 0 ; AppleTalk
  1908. async  DS.B 1 ; Byte - asyncronous flag
  1909. command  DS.B 1 ; Byte - ATP command to execute
  1910. result  DS.B 2 ; Word - error result to the ATP operation
  1911. socketID  DS.B 1 ; Byte - response socket #
  1912. destNetID  DS.B 2 ; Word - destination network #
  1913. destNodeID  DS.B 1 ; Byte - destination node #
  1914. destSocketID  DS.B 1 ; Byte - destination socket #
  1915. transactionID  DS.B 2 ; Word - ATP transaction ID
  1916.   ENDR
  1917.  
  1918. RespBDSBuffer RECORD 0 ; AppleTalk
  1919. bufferLength  DS.B 2 ; Word - 
  1920. bufferPtr  DS.B 4 ; Long - 
  1921. userBytes  DS.B 4 ; Long - 
  1922. actualLength  DS.B 2 ; Word - 
  1923.   ENDR
  1924.  
  1925. DDPOpenSocketRec RECORD 0 ; AppleTalk
  1926. async  DS.B 1 ; Byte - asyncronous flag
  1927. command  DS.B 1 ; Byte - DDP command to execute
  1928. result  DS.B 2 ; Word - error result from DDP operation
  1929. socketNumber  DS.B 1 ; Byte - socket number opened
  1930. clientAddr  DS.B 4 ; Long - client address
  1931.   ENDR
  1932.  
  1933. DDPCloseSocketRec RECORD 0 ; AppleTalk
  1934. async  DS.B 1 ; Byte - asyncronous flag
  1935. command  DS.B 1 ; Byte - DDP commnd to execute
  1936. result  DS.B 2 ; Word - error result from DDP operation
  1937. socketNumber  DS.B 1 ; Byte - socket # to close
  1938.   ENDR
  1939.  
  1940. DDPSendDatagramRec RECORD 0 ; AppleTalk
  1941. async  DS.B 1 ; Byte - asyncronous flag
  1942. command  DS.B 1 ; Byte - DDP command to execute
  1943. result  DS.B 2 ; Word - error result from DDP operation
  1944. checksum  DS.B 1 ; Byte - calculated checksum
  1945. destNet  DS.B 2 ; Word - destination network #
  1946. destNode  DS.B 1 ; Byte - destination node #
  1947. destSocket  DS.B 1 ; Byte - destination socket #
  1948. sourceSocket  DS.B 1 ; Byte - DDP socket to send from
  1949. ddpType  DS.B 1 ; Byte - DDP protocol type
  1950. bdsPtr  DS.B 4 ; Long - pointer to the DDP BDS buffer
  1951.   ENDR
  1952.  
  1953. LAPWriteRec RECORD 0 ; AppleTalk
  1954. async  DS.B 1 ; Byte - asyncronous flag
  1955. command  DS.B 1 ; Byte - lap command to execute
  1956. result  DS.B 2 ; Word - lap error result code
  1957. destNode  DS.B 1 ; Byte - destination node to send packet to
  1958. lapType  DS.B 1 ; Byte - lap protocol type to send
  1959. lapBDSPtr  DS.B 4 ; Long - pointer to the lap BDS buffer
  1960.   ENDR
  1961.  
  1962. LAPReadBufferRec RECORD 0 ; AppleTalk
  1963. async  DS.B 1 ; Byte - asyncronous flag
  1964. command  DS.B 1 ; Byte - LAP command to execute
  1965. result  DS.B 2 ; Word - error result of the LAP operation
  1966. requestCount  DS.B 2 ; Word - how many BYTEs to transfer
  1967. bufferPtr  DS.B 4 ; Long - pointer to a buffer to store info
  1968. purge  DS.B 1 ; Byte - flag for purging the buffer if wrong size
  1969. amountTransfered  DS.B 2 ; Word - actual amount transfered
  1970.   ENDR
  1971.  
  1972. LAPAttachProtRec RECORD 0 ; AppleTalk
  1973. async  DS.B 1 ; Byte - asyncronous flag
  1974. command  DS.B 1 ; Byte - LAP command to execute
  1975. result  DS.B 2 ; Word - error result of LAP operation
  1976. protType  DS.B 1 ; Byte - protocol type specifing the LAP type
  1977. protAddr  DS.B 4 ; Long - protocol address specifing the LAP handler
  1978.   ENDR
  1979.  
  1980. LAPRemoveProtRec RECORD 0 ; AppleTalk
  1981. async  DS.B 1 ; Byte - asyncronous flag
  1982. command  DS.B 1 ; Byte - LAP command to execute
  1983. result  DS.B 2 ; Word - error result of LAP operation
  1984. protType  DS.B 1 ; Byte - protocol type specifing the LAP type
  1985.   ENDR
  1986.  
  1987. BDS RECORD 0 ; AppleTalk
  1988. BufferLength  DS.B 2 ; Word - 
  1989. BufferPtr  DS.B 4 ; Long - 
  1990.   ENDR
  1991.  
  1992. NBPRNEntityNameRec RECORD 0 ; AppleTalk
  1993. reserved  DS.B 9 ; byte[9] -  
  1994. entityName  DS EntName ; EntName -  
  1995.   ENDR
  1996.  
  1997. NBPLUNameBufferRec RECORD 0 ; AppleTalk
  1998. netNum  DS.B 2 ; word -  
  1999. nodeNum  DS.B 1 ; byte -  
  2000. socketNum  DS.B 1 ; byte -  
  2001. enumerator  DS.B 1 ; byte -  
  2002. entityName  DS EntName ; EntName -  
  2003.   ENDR
  2004.  
  2005. NBPRegisterNameRec RECORD 0 ; AppleTalk
  2006. async  DS.B 1 ; Byte - asyncronous flag
  2007. command  DS.B 1 ; Byte - NBP command to execute
  2008. result  DS.B 2 ; Word - error result from NBP operation
  2009. completionPtr  DS.B 4 ; Long - pointer to the completion routine
  2010. namePtr  DS.B 4 ; Long - pointer to the entityType
  2011. rInterval  DS.B 1 ; Byte - timeOut period before retrying
  2012. rCount  DS.B 1 ; Byte - number of retries to attempt
  2013. reserved  DS.B 2 ; Word - reserved for future use
  2014. socketNumber  DS.B 1 ; Byte - socket listner being registered
  2015. checkFlag  DS.B 1 ; Byte - flag for checking duplicate names
  2016.   ENDR
  2017.  
  2018. NBPRemoveNameRec RECORD 0 ; AppleTalk
  2019. async  DS.B 1 ; Byte - asyncronous flag
  2020. command  DS.B 1 ; Byte - NBP command to execute
  2021. result  DS.B 2 ; Word - error result from NBP operation
  2022. entityPtr  DS.B 4 ; Long - pointer to the entity entityType
  2023.   ENDR
  2024.  
  2025. NBPLookupNameRec RECORD 0 ; AppleTalk
  2026. async  DS.B 1 ; Byte - asyncronous flag
  2027. command  DS.B 1 ; Byte - NBP command to execute
  2028. result  DS.B 2 ; Word - error result from NBP operation
  2029. completionPtr  DS.B 4 ; Long - pointer to the completion routine
  2030. entityPtr  DS.B 4 ; Long - pointer to the entity entityType
  2031. rInterval  DS.B 1 ; Byte - timeout interval before retrying
  2032. rCount  DS.B 1 ; Byte - number of retries to attempt
  2033. reserved  DS.B 2 ; Word - reserved for future use
  2034. bufferLength  DS.B 2 ; Word - length of the user buffer
  2035. bufferPtr  DS.B 4 ; Long - pointer to the user buffer
  2036. maxMatch  DS.B 1 ; Byte - maxiumn number of name matches
  2037. actualMatch  DS.B 1 ; Byte - actual number of matches
  2038.   ENDR
  2039.  
  2040. NBPConfirmNameRec RECORD 0 ; AppleTalk
  2041. async  DS.B 1 ; Byte - asyncronous flag
  2042. command  DS.B 1 ; Byte - NBP command to execute
  2043. result  DS.B 2 ; Word - error result from NBP operation
  2044. completionPtr  DS.B 4 ; Long - pointer to the completion routine
  2045. entityPtr  DS.B 4 ; Long - pointer to the entity name
  2046. rInterval  DS.B 1 ; Byte - timeout interval before retrying
  2047. rCount  DS.B 1 ; Byte - number of retries to attempt
  2048. reserved  DS.B 2 ; Word - reserved for future use
  2049. networkID  DS.B 2 ; Word - network number for confirmation
  2050. nodeID  DS.B 1 ; Byte - node number for confirmation
  2051. socketID  DS.B 1 ; Byte - socket number for confirmation
  2052. actualSocketID  DS.B 1 ; Byte - actual socket number confirmed
  2053.   ENDR
  2054.  
  2055. NBPKillRec RECORD 0 ; AppleTalk
  2056. async  DS.B 1 ; Byte -  
  2057. command  DS.B 1 ; Byte -  
  2058. result  DS.B 2 ; Word -  
  2059. paramBlockPtr  DS.B 4 ; Pointer -  
  2060.   ENDR
  2061.  
  2062. PAPStatusRec RECORD 0 ; AppleTalk
  2063. async  DS.B 1 ; Byte - asyncronous flag
  2064. command  DS.B 1 ; Byte - PAP command to execute
  2065. result  DS.B 2 ; Word - error result from a PAP operation
  2066. completionPtr  DS.B 4 ; Long - pointer to the completion routine
  2067. printerNamePtr  DS.B 4 ; Long - pointer to the printer name
  2068. statusBufferPtr  DS.B 4 ; Long - pointer to the status buffer
  2069.   ENDR
  2070.  
  2071. PAPOpenRec RECORD 0 ; AppleTalk
  2072. async  DS.B 1 ; Byte - asyncronous flag
  2073. command  DS.B 1 ; Byte - PAP command to execute
  2074. result  DS.B 2 ; Word - error result from a PAP operation
  2075. completionPtr  DS.B 4 ; Long - pointer to the completion routine
  2076. sessRefID  DS.B 1 ; Byte - session reference number
  2077. printerNamePtr  DS.B 4 ; Long - printer name pointer
  2078. flowQuantum  DS.B 1 ; Byte - number of ATP packets to be sent
  2079. statusBufferPtr  DS.B 4 ; Long - pointer to the status buffer
  2080.   ENDR
  2081.  
  2082. PAPCloseRec RECORD 0 ; AppleTalk
  2083. async  DS.B 1 ; Byte - asyncronous flag
  2084. command  DS.B 1 ; Byte - PAP command to execute
  2085. result  DS.B 2 ; Word - error result from a PAP operation
  2086. completionPtr  DS.B 4 ; Long - pointer to the completion routine
  2087. sessRefID  DS.B 1 ; Byte - session referance number
  2088.   ENDR
  2089.  
  2090. PAPReadRec RECORD 0 ; AppleTalk
  2091. async  DS.B 1 ; Byte - asyncronous flag
  2092. command  DS.B 1 ; Byte - PAP command to execute
  2093. result  DS.B 2 ; Word - error result from a PAP operation
  2094. completionPtr  DS.B 4 ; Long - pointer to the completion routine
  2095. sessRefID  DS.B 1 ; Byte - session reference #
  2096. bufferLength  DS.B 2 ; Word - length of the user buffer
  2097. bufferPtr  DS.B 4 ; Long - pointer to the user buffer
  2098. papEOF  DS.B 1 ; Byte - end of file flag
  2099.   ENDR
  2100.  
  2101. PAPWriteRec RECORD 0 ; AppleTalk
  2102. async  DS.B 1 ; Byte - asyncronous flag
  2103. command  DS.B 1 ; Byte - PAP command to execute
  2104. result  DS.B 2 ; Word - error result from a PAP operation
  2105. completionPtr  DS.B 4 ; Long - pointer to the completion routine
  2106. sessRefID  DS.B 1 ; Byte - session reference #
  2107. dataLength  DS.B 2 ; Word - data length
  2108. bufferPtr  DS.B 4 ; Long - pointer to the buffer
  2109. papEOF  DS.B 1 ; Byte - end of file flag
  2110.   ENDR
  2111.  
  2112. PAPUnloadRec RECORD 0 ; AppleTalk
  2113. async  DS.B 1 ; Byte - asyncronous flag
  2114. command  DS.B 1 ; Byte - PAP command to execute
  2115. result  DS.B 2 ; Word - error result from a PAP operation
  2116. completionPtr  DS.B 4 ; Long - pointer to the completion routine
  2117.   ENDR
  2118.  
  2119. PFIAttentionHeaderRec RECORD 0 ; AppleTalk
  2120. sessionRefNum  DS.B 1 ; byte - 
  2121. attenType  DS.B 1 ; byte - 
  2122. atten  DS.B 2 ; word - 
  2123. serverName  DS.B 33 ; char[33] - 
  2124. zoneName  DS.B 34 ; char[34] - 
  2125.   ENDR
  2126.  
  2127. PFIHooksMountingRec RECORD 0 ; AppleTalk
  2128. sessionRefNum  DS.B 1 ; byte - 
  2129. p8UnitNum  DS.B 1 ; byte - 
  2130. volumeName  DS.B 29 ; char[29] - 
  2131. volumeID  DS.B 2 ; Word - 
  2132. serverName  DS.B 33 ; char[33] - 
  2133. zoneName  DS.B 34 ; char[34] - 
  2134.   ENDR
  2135.  
  2136. PFIUserPrefixRec RECORD 0 ; AppleTalk
  2137. async  DS.B 1 ; Byte - asyncronous flag
  2138. command  DS.B 1 ; Byte - PFI command to execute
  2139. result  DS.B 2 ; Word - error result from PFI operation
  2140. directionFlag  DS.B 1 ; Byte - high bit set to point to by User Pointer is stored in PFI
  2141. userNamePtr  DS.B 2 ; Word - name pointed to my User Mane Pointer
  2142.   ENDR
  2143.  
  2144. PFILoginRec RECORD 0 ; AppleTalk
  2145. async  DS.B 1 ; Byte - asyncronous flag
  2146. command  DS.B 1 ; Byte - PFI command to execute
  2147. result  DS.B 2 ; Word - error result from PFI operation
  2148. networkID  DS.B 2 ; Word - network number for confirmation
  2149. nodeID  DS.B 1 ; Byte - node number for confirmation
  2150. socketID  DS.B 1 ; Byte - socket number for confirmation
  2151. cmdBufferLength  DS.B 2 ; Word - length of the user command buffer
  2152. cmdBufferPtr  DS.B 4 ; Long - pointer to the user command buffer
  2153. replyBufferLength  DS.B 2 ; Word - length of the reply buffer
  2154. replyBufferPtr  DS.B 4 ; Long - pointer to the reply buffer
  2155. sessRefID  DS.B 1 ; Byte - session reference number
  2156. attnRtnAddr  DS.B 4 ; Long - 
  2157.   ENDR
  2158.  
  2159. PFILoginContRec RECORD 0 ; AppleTalk
  2160. async  DS.B 1 ; Byte - asyncronous flag
  2161. command  DS.B 1 ; Byte - PFI command to execute
  2162. result  DS.B 2 ; Word - error result from PFI operation
  2163. sessRefID  DS.B 1 ; Byte - session reference number
  2164. cmdBufferLength  DS.B 2 ; Word - length of the user command buffer
  2165. cmdBufferPtr  DS.B 4 ; Long - pointer to the user command buffer
  2166. replyBufferLength  DS.B 2 ; Word - length of the reply buffer
  2167. replyBufferPtr  DS.B 4 ; Long - pointer to the reply buffer
  2168.   ENDR
  2169.  
  2170. PFILogoutRec RECORD 0 ; AppleTalk
  2171. async  DS.B 1 ; Byte - asyncronous flag
  2172. command  DS.B 1 ; Byte - PFI command to execute
  2173. result  DS.B 2 ; Word - error result from PFI operation
  2174. sessRefID  DS.B 1 ; Byte - session reference number
  2175.   ENDR
  2176.  
  2177. PFIMountvolRec RECORD 0 ; AppleTalk
  2178. async  DS.B 1 ; Byte - asyncronous flag
  2179. command  DS.B 1 ; Byte - PFI command to execute
  2180. result  DS.B 2 ; Word - error result from PFI operation
  2181. sessRefID  DS.B 1 ; Byte - session reference number
  2182. mountflag  DS.B 1 ; Byte - mount flag field specifies whether the vol is to be mounted
  2183. volNamePtr  DS.B 4 ; Long - pointer to the volume that will be pseudo-mounted
  2184. volID  DS.B 2 ; Word - volume ID returned by AFP
  2185. slotDrive  DS.B 1 ; Byte - the slot/drive in ProDOS format into which the volume was pseudo-mounted
  2186. passwordPtr  DS.B 4 ; Long - pointer to password for the pseudo-mounted volume
  2187.   ENDR
  2188.  
  2189. PFIListBufferRec RECORD 0 ; AppleTalk
  2190. sessionRefNum  DS.B 1 ; byte - 
  2191. Slot  DS.B 1 ; byte - 
  2192. volumeName  DS.B 28 ; byte[28] - 
  2193. volumeID  DS.B 2 ; word - 
  2194.   ENDR
  2195.  
  2196. PFIListSessionsRec RECORD 0 ; AppleTalk
  2197. async  DS.B 1 ; Byte - asyncronous flag
  2198. command  DS.B 1 ; Byte - PFI command to execute
  2199. result  DS.B 2 ; Word - error result from PFI operation
  2200. bufferLength  DS.B 2 ; Word - length of the user buffer
  2201. bufferPtr  DS.B 4 ; Long - pointer to the user buffer
  2202. entriesRtn  DS.B 1 ; Byte - contains the number of entries returned from the list of current sessions being maintained through the PFI and any volumes mounted for those sessions
  2203.   ENDR
  2204.  
  2205. PFITimeZoneRec RECORD 0 ; AppleTalk
  2206. async  DS.B 1 ; Byte - asyncronous flag
  2207. command  DS.B 1 ; Byte - PFI command to execute
  2208. result  DS.B 2 ; Word - error result from PFI operation
  2209. timeFlag  DS.B 1 ; Byte - depending on bit set of the time falg field indicates whether the time should be added to or subtracted from the time zone selected
  2210.   ENDR
  2211.  
  2212. PFIGetSrcpathRec RECORD 0 ; AppleTalk
  2213. async  DS.B 1 ; Byte - asyncronous flag
  2214. command  DS.B 1 ; Byte - PFI command to execute
  2215. result  DS.B 2 ; Word - error result from PFI operation
  2216. bufferPtr  DS.B 4 ; Long - pointer to the user buffer where the pathname will be placed
  2217.   ENDR
  2218.  
  2219. PFIAccessRec RECORD 0 ; AppleTalk
  2220. async  DS.B 1 ; Byte - asyncronous flag
  2221. command  DS.B 1 ; Byte - PFI command to execute
  2222. result  DS.B 2 ; Word - error result from PFI operation
  2223. directionalFlag  DS.B 1 ; Byte - if bit 7 of the directional flag is set, the access is being set
  2224. accessRights  DS.B 4 ; Long - access rights in AFP format
  2225. pathnamePtr  DS.B 4 ; Long - pointer the path name containing that volume
  2226. creatorNamePtr  DS.B 4 ; Long - if bit 6 of the directional flag is set, the creator's name will be dealt with
  2227. groupNamePtr  DS.B 4 ; Long - if bit 5 of the directional flag is set, the group name will be dealt with
  2228.   ENDR
  2229.  
  2230. PFINamingRec RECORD 0 ; AppleTalk
  2231. async  DS.B 1 ; Byte - asyncronous flag
  2232. command  DS.B 1 ; Byte - PFI command to execute
  2233. result  DS.B 2 ; Word - error result from PFI operation
  2234. directionalFlag  DS.B 1 ; Byte - if bit 7 of the directional flag is set, the naming convention is being set
  2235. namingConvFlag  DS.B 1 ; Byte - if bit 7 of the naming convention flag is set, the naming convention becomes AFP format
  2236.   ENDR
  2237.  
  2238. PFIConvertTimeRec RECORD 0 ; AppleTalk
  2239. async  DS.B 1 ; Byte - asyncronous flag
  2240. command  DS.B 1 ; Byte - PFI command to execute
  2241. result  DS.B 2 ; Word - error result from PFI operation
  2242. formatFlag  DS.B 1 ; Byte - if the format flag is set to 0, then from date time is AFP format  if the format flag is set to 1, then from date time is ProDOS format
  2243. fromDateTime  DS.B 4 ; Long - this field contains the From DATE/Time data (values) to convert, not pointers
  2244. toDateTime  DS.B 4 ; Long - this field contains the TO DATE/Time data (values) to convert, not pointers
  2245.   ENDR
  2246.  
  2247. PFISetBufferRec RECORD 0 ; AppleTalk
  2248. async  DS.B 1 ; Byte - asyncronous flag
  2249. command  DS.B 1 ; Byte - PFI command to execute
  2250. result  DS.B 2 ; Word - error result from PFI operation
  2251. dirFlag  DS.B 1 ; Byte - $00 or $80
  2252. bufferLength  DS.B 2 ; Word - Buffer Length
  2253. bufferPtr  DS.B 4 ; Long - if the format flag is set to 0, then from date time is AFP format
  2254.   ENDR
  2255.  
  2256. PFIHooksRec RECORD 0 ; AppleTalk
  2257. async  DS.B 1 ; Byte -  
  2258. command  DS.B 1 ; Byte -  
  2259. result  DS.B 2 ; Word -  
  2260. hookFlag  DS.B 1 ; Byte -  
  2261. mountVector  DS.B 4 ; Long -  
  2262. unmountVector  DS.B 4 ; Long -  
  2263. attentionVector  DS.B 4 ; Long -  
  2264.   ENDR
  2265.  
  2266. PFILogin2Rec RECORD 0 ; AppleTalk
  2267. async  DS.B 1 ; Byte - 
  2268. command  DS.B 1 ; Byte -  
  2269. result  DS.B 2 ; Word -  
  2270. newworkID  DS.B 2 ; Word -  
  2271. nodeID  DS.B 1 ; Byte -  
  2272. socketID  DS.B 1 ; Byte -  
  2273. cmdBufferLength  DS.B 2 ; Word -  
  2274. cmdBufferPtr  DS.B 4 ; Long -  
  2275. replyBufferLength  DS.B 2 ; Word -  
  2276. replyBufferPtr  DS.B 4 ; Long -  
  2277. sessRefID  DS.B 1 ; Byte -  
  2278. attnRtnAddr  DS.B 4 ; Long -  
  2279. serverName  DS.B 4 ; Pointer -  
  2280. zoneName  DS.B 4 ; Pointer -  
  2281. afpVersionNum  DS.B 2 ; Word -  
  2282.   ENDR
  2283.  
  2284. PFIListSessions2Rec RECORD 0 ; AppleTalk
  2285. async  DS.B 1 ; Byte -  
  2286. command  DS.B 1 ; Byte -  
  2287. result  DS.B 2 ; Word -  
  2288. bufferLength  DS.B 2 ; Word -  
  2289. bufferPtr  DS.B 4 ; Long -  
  2290. entriesRtn  DS.B 1 ; Byte -  
  2291.   ENDR
  2292.  
  2293. PFIGetSVersionRec RECORD 0 ; AppleTalk
  2294. async  DS.B 1 ; Byte -  
  2295. command  DS.B 1 ; Byte -  
  2296. result  DS.B 2 ; Word -  
  2297. sessRefID  DS.B 1 ; Byte -  
  2298. afpVersionNum  DS.B 2 ; Word -  
  2299.   ENDR
  2300.  
  2301. ListSessionsBuffer RECORD 0 ; AppleTalk
  2302. refNum  DS.B 1 ; Byte - 
  2303. slotDrive  DS.B 1 ; Byte - 
  2304. volName  DS.B 28 ; char[28] - 
  2305. volID  DS.B 2 ; Word - 
  2306.   ENDR
  2307.  
  2308. RPMSetPrinterRec RECORD 0 ; AppleTalk
  2309. async  DS.B 1 ; Byte - asyncronous flag
  2310. command  DS.B 1 ; Byte - RPM command to execute
  2311. result  DS.B 2 ; Word - error code returned from RPM operation
  2312. entityPtr  DS.B 4 ; Long - pointer to the entity name
  2313. rpmFlags  DS.B 1 ; Byte - RPM operation flags
  2314. flushInterval  DS.B 2 ; Word - flush interval
  2315. timeOut  DS.B 2 ; Word - timeOut
  2316. numberBuffers  DS.B 2 ; Word - number of buffers allocated
  2317.   ENDR
  2318.  
  2319. RPMCloseSessionRec RECORD 0 ; AppleTalk
  2320. async  DS.B 1 ; Byte - 
  2321. command  DS.B 1 ; Byte - 
  2322. result  DS.B 2 ; Word - 
  2323.   ENDR
  2324.  
  2325. RPMFlushSessionRec RECORD 0 ; AppleTalk
  2326. async  DS.B 1 ; Byte - 
  2327. command  DS.B 1 ; Byte - 
  2328. result  DS.B 1 ; Byte - 
  2329.   ENDR
  2330.  
  2331. ZIPGetMyZoneRec RECORD 0 ; AppleTalk
  2332. async  DS.B 1 ; Byte - asyncronous flag
  2333. command  DS.B 1 ; Byte - ZIP Command to execute
  2334. result  DS.B 2 ; Word - error result from a ZIP operation
  2335. completionPtr  DS.B 4 ; Long - Pointer to the completion routine
  2336. bufferPtr  DS.B 4 ; Long - pointe to the buffer
  2337. timeOut  DS.B 1 ; Byte - timeout interval for retrying
  2338. retry  DS.B 1 ; Byte - number of retries to attempt
  2339. reserved  DS.B 2 ; Word - reserved for future use
  2340.   ENDR
  2341.  
  2342. ZIPGetZoneListRec RECORD 0 ; AppleTalk
  2343. async  DS.B 1 ; Byte - asyncronous flag
  2344. command  DS.B 1 ; Byte - ZIP command to execute
  2345. result  DS.B 2 ; Word - error result from a ZIP operation
  2346. completionPtr  DS.B 4 ; Long - pointer to the completion routine
  2347. bufferLength  DS.B 2 ; Word - length of the user buffer
  2348. bufferPtr  DS.B 4 ; Long - pointer to the user buffer
  2349. bridgeNodeID  DS.B 1 ; Byte - bridge node number
  2350. startIndex  DS.B 2 ; Word - starting index of the buffer
  2351. timeOut  DS.B 1 ; Byte - timeout interval for retrying
  2352. retry  DS.B 1 ; Byte - number of retries to attempt
  2353. zonesFound  DS.B 2 ; Word - number of zones found
  2354. reserved  DS.B 2 ; Word - reserved for future use (not clear in manual)
  2355.   ENDR
  2356.  
  2357. CmdBlock RECORD 0 ; AppleTalk
  2358. cmdLength  DS.B 2 ; Word - AFP Command Length
  2359. cmdBlkAddr  DS.B 4 ; Pointer - Address of AFP Command
  2360. replyLength  DS.B 2 ; Word - Size of Reply Buffer
  2361. replyBuffer  DS.B 4 ; Pointer - Address of Reply Buffer
  2362. writeLength  DS.B 2 ; Word - Size of Data to be written
  2363. writeBuffer  DS.B 4 ; Pointer - Address of Write Buffer
  2364.   ENDR
  2365.  
  2366. BufferControlRec RECORD 0 ; AppleShare
  2367. pCount  DS.B 2 ; Word - 
  2368. fstNum  DS.B 2 ; Word - 
  2369. commandNum  DS.B 2 ; Word - 
  2370. refNum  DS.B 2 ; Word -  
  2371. flags  DS.B 2 ; Word -  
  2372.   ENDR
  2373.  
  2374. SpecialOpenForkRec RECORD 0 ; AppleShare
  2375. pCount  DS.B 2 ; Word - 
  2376. fstNum  DS.B 2 ; Word - 
  2377. commandNum  DS.B 2 ; Word - 
  2378. refNum  DS.B 2 ; Word - 
  2379. pathname  DS.B 4 ; GSString255Ptr - 
  2380. accessMode  DS.B 2 ; word - 
  2381. forkNum  DS.B 2 ; word - 
  2382.   ENDR
  2383.  
  2384. ByteRangeLockRec RECORD 0 ; AppleShare
  2385. pCount  DS.B 2 ; Word - 
  2386. fstNum  DS.B 2 ; Word - 
  2387. commandNum  DS.B 2 ; Word - 
  2388. refNum  DS.B 2 ; word - 
  2389. lockFlag  DS.B 2 ; word - 
  2390. fileOffset  DS.B 4 ; long - 
  2391. rangeLength  DS.B 4 ; long -  
  2392. rangeStart  DS.B 4 ; long -  
  2393.   ENDR
  2394.  
  2395. GetAccessRightsRec RECORD 0 ; AppleShare
  2396. userSummary  DS.B 1 ; byte - 
  2397. world  DS.B 1 ; byte - 
  2398. group  DS.B 1 ; byte - 
  2399. owner  DS.B 1 ; byte - 
  2400.   ENDR
  2401.  
  2402. GetPrivilegesRec RECORD 0 ; AppleShare
  2403. pCount  DS.B 2 ; Word - 
  2404. fstNum  DS.B 2 ; Word - 
  2405. commandNum  DS.B 2 ; Word - 
  2406. pathname  DS.B 4 ; GSString255Ptr - 
  2407. accessRights  DS GetAccessRightsRec ; GetAccessRightsRec - 
  2408. ownerName  DS.B 4 ; ResultBuf255Ptr - 
  2409. groupName  DS.B 4 ; ResultBuf255Ptr - 
  2410.   ENDR
  2411.  
  2412. SetAccessRightsRec RECORD 0 ; AppleShare
  2413. reserved  DS.B 1 ; byte - 
  2414. world  DS.B 1 ; byte - 
  2415. group  DS.B 1 ; byte - 
  2416. owner  DS.B 1 ; byte - 
  2417.   ENDR
  2418.  
  2419. SetPrivilegesRec RECORD 0 ; AppleShare
  2420. pCount  DS.B 2 ; Word - 
  2421. fstNum  DS.B 2 ; Word - 
  2422. commandNum  DS.B 2 ; Word - 
  2423. pathname  DS.B 4 ; GSString255Ptr - 
  2424. accessRights  DS SetAccessRightsRec ; SetAccessRightsRec - 
  2425. ownerName  DS.B 4 ; ResultBuf255Ptr - 
  2426. groupName  DS.B 4 ; ResultBuf255Ptr - 
  2427.   ENDR
  2428.  
  2429. UserInfoRec RECORD 0 ; AppleShare
  2430. pCount  DS.B 2 ; Word - 
  2431. fstNum  DS.B 2 ; Word - 
  2432. commandNum  DS.B 2 ; Word - 
  2433. deviceNum  DS.B 2 ; word - 
  2434. userName  DS.B 4 ; ResultBuf255Ptr - 
  2435. primaryGroupName  DS.B 4 ; ResultBuf255Ptr - 
  2436.   ENDR
  2437.  
  2438. CopyFileRec RECORD 0 ; AppleShare
  2439. pCount  DS.B 2 ; Word - 
  2440. fstNum  DS.B 2 ; Word - 
  2441. commandNum  DS.B 2 ; Word - 
  2442. sourcePathname  DS.B 4 ; GSString255Ptr - 
  2443. destPathname  DS.B 4 ; GSString255Ptr - 
  2444.   ENDR
  2445.  
  2446. GetUserPathRec RECORD 0 ; AppleShare
  2447. pCount  DS.B 2 ; Word - 
  2448. fstNum  DS.B 2 ; Word - 
  2449. commandNum  DS.B 2 ; Word - 
  2450. prefix  DS.B 4 ; GSString255Ptr - 
  2451.   ENDR
  2452.  
  2453. DesktopRec RECORD 0 ; AppleShare
  2454. pCount  DS.B 2 ; Word - 
  2455. fstNum  DS.B 2 ; Word - 
  2456. commandNum  DS.B 2 ; Word - 
  2457. desktopRefNum  DS.B 2 ; word - 
  2458. pathname  DS.B 4 ; GSString255Ptr - 
  2459.   ENDR
  2460.  
  2461. GetCommentRec RECORD 0 ; AppleShare
  2462. pCount  DS.B 2 ; Word - 
  2463. fstNum  DS.B 2 ; Word - 
  2464. commandNum  DS.B 2 ; Word - 
  2465. desktopRefNum  DS.B 2 ; word - 
  2466. pathname  DS.B 4 ; GSString255Ptr - 
  2467. comment  DS.B 4 ; ResultBuf255Ptr - 
  2468.   ENDR
  2469.  
  2470. SetCommentRec RECORD 0 ; AppleShare
  2471. pCount  DS.B 2 ; Word - 
  2472. fstNum  DS.B 2 ; Word - 
  2473. commandNum  DS.B 2 ; Word - 
  2474. desktopRefNum  DS.B 2 ; word - 
  2475. pathname  DS.B 4 ; GSString255Ptr - 
  2476. comment  DS.B 4 ; GSString255Ptr - 
  2477.   ENDR
  2478.  
  2479. GetServerNameRec RECORD 0 ; AppleShare
  2480. pCount  DS.B 2 ; Word - 
  2481. fstNum  DS.B 2 ; Word - 
  2482. commandNum  DS.B 2 ; Word - 
  2483. pathname  DS.B 4 ; GSString255Ptr - 
  2484. serverName  DS.B 4 ; ResultBuf255Ptr - 
  2485. zoneName  DS.B 4 ; ResultBuf255Ptr - 
  2486.   ENDR
  2487.  
  2488. ASOptionListRec RECORD 0 ; AppleShare
  2489. bufferSize  DS.B 2 ; word -  
  2490. dataSize  DS.B 2 ; word -  
  2491. theFileSysID  DS.B 2 ; word -  
  2492. finderInfo  DS.B 32 ; Byte[32] -  
  2493. parentDirID  DS.B 4 ; long -  
  2494. accessRights  DS.B 4 ; long -  
  2495.   ENDR
  2496.  
  2497.  
  2498. decform RECORD 0 ; SANE
  2499. style  DS.B 2 ; short - FLOATDECIMAL or FIXEDDECIMAL 
  2500. digits  DS.B 2 ; short - 
  2501.   ENDR
  2502.  
  2503. XCMDBlock RECORD 0 ; IdunaXCMD
  2504. paramCount  DS.B 2 ; word -  
  2505. params  DS.B 64 ; Handle[16] -  
  2506. returnValue  DS.B 4 ; Handle -  
  2507. passFlag  DS.B 2 ; Boolean -  
  2508. userID  DS.B 2 ; word -  
  2509.   ENDR
  2510.  
  2511.